Software Programming : Java Programming QUESTIONS AND ANSWERS :: part17 : 6 to 10
Following Software Programming language Entrance Multiple choice objective type questions and answers will help you in Software Programming 2024 examinations :
6.What does the following code do? smt=con.createStatement(); |
A Prepared Statement object is created to send sql commands to the database |
A Statement object is created to send sql commands to the database |
A callable Statement is created to send sql commands to the database |
A Statement object is created to execute parameterise SQL commands |
A Default Statement object is created to send sql commands to the database. |
7.If ClassA extends ClassB, then |
ClassA is a superclass |
ClassB is a base class |
ClassB is a subclass |
ClassB is a derived class |
ClassA is a base class. |
8.What is the value of result after the following Java statements execute? int a, b, c, d; a = 4;b = 12; c = 37; d = 51; result = d % a * c + a % b + a; |
119 |
51 |
127 |
59 |
159. |
9.When an applet container encounters an HTML file that specifies an applet to execute, the applet container automatically loads ________ of the applet from the same directory as that of the HTML file. #261. When an applet container encounters an HTML file that specifies an applet to execute, the applet container automatically loads ________ of the applet from the same directory as that of the HTML file. |
the .java file |
the .class file |
the main line |
the .htm file |
the .jva file. |
10.Which is identified as the first ever Object Oriented Programming Language? |
C++ |
C |
Java |
Simula 67 |
Small talk. |
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