Software Programming : Java Programming QUESTIONS AND ANSWERS :: part10 : 1 to 5
Following Software Programming language Entrance Multiple choice objective type questions and answers will help you in Software Programming 2024 examinations :
1.Java Bytecode is |
the Java virtual machine version of machine code. |
known as the Java interpreter or Java run time. |
a set of programming statements entered into a text editor by a programmer. |
similar to machine code which is specific to any processor. |
not an additional layer in-between the source code and the machine code. |
2.What information may be obtained from a ResultSetMetaData object? |
Database URL and product name |
JDBC driver name and version |
Number of columns in the result set |
Number of rows in the result set |
Number of tables in the database. |
3.Which of the following statements is true? |
You may load multiple JDBC drivers in a program. |
You may create multiple connections to a database. |
You may create multiple statements from one connection. |
You can send queries and update statements through a Statement object. |
All of the above. |
4.When you run an applet, which of the following is invoked first? |
The init method |
The applet's default constructor |
The stop method |
The destroy method |
Start method. |
5.When you run the following applet from a browser, what is displayed? import javax.swing.*; public class Test extends JApplet { public Test() { System.out.println("Default constructor is invoked"); } public void init() { System.out.println("Init method is invoked"); } } |
Default constructor is invoked, then Init method is invoked |
Init method is invoked, then Default constructor is invoked |
Default constructor is invoked |
Init method is invoked |
Default constructor is invoked twice. |
More Java Programming QUESTIONS AND ANSWERS available in next pages
-
Health is the greatest gift, contentment is the greatest wealth -Buddha
- TNTET 2021 - Practice
- SSC CGL 2021 - Practice
- TNPSC Group 2A 2021 - Practice
- IIT JEE
- IIT JEE Q&A
- TNPSC Answer Keys
- TNPSC Group 2 Syllabus
- TNPSC Q&A
- Online Tests - TNPSC
- Online Tests - GK
- IBPS 2020-2021
- Online Tests - Bank
- Online Tests - RRB NTPC
- Online Tests - UGC NET
- Online Tests - TANCET
- Online Aptitude Test
- Engineering
- Programming
- Basic Science
- Quiz
- Plus Two Question Papers
- SSLC Question Bank
- Aptitude Tests
- Logical Reasoning
- General Knowledge-Hindi
- Indian History MCQ
- Indian Geography MCQ
- Indian Civics MCQ
- Indian Economics MCQ
- CTET Biology MCQ
- CTET Chemistry MCQ
- CTET Physics Solved MCQ
- Arithmetic Tests
- Press Release
- FAQ
- Coaching Centres
- TNPSC Group 1 Syllabus
- TNPSC Group IV Syllabus
- TRB 2017 in English PDF
- TRB 2017 in Tamil PDF
- TET
- TNTET