Install google TEZ and earn up to 9000 per day. Click Here
A panel can not be added to another panel.
Correct Answer :
Download Objective type questions of
Get all objective type questions of Java Programming MCQ
comments powered by Disqus.
When the string objects are compared with ==, the result is true If the strings contain the same values.
Servlet can have ___________
Given the codeString s = new String("abc");Which of the following calls are valid?
When we implement an interface method, it should be declared as public.
Which of the following statements are true?
Which of the following keywords are used to control access to a class member?
If you want to assign a value of 99 to the variable year, then which of the following lines can be used…
A catch can have comma-separated multiple arguments.
What does the following line of code do?TextField text=new TextField(10);
Declarations can appear anywhere in the body of a Java method.
The break statement is required in the default case of a switch selection structure.
executeUpdate automatically updates data because___________
Which of the following will produce a value of 10 if x = 9.7?
Which of the following represent legal flow control statements?
An individual array element that is passed to a method and modified in that method will contain the…
Which of the following statements are valid array declarations?
When present, package must be the first no comment statement in the file.
Java is fully object oriented programme.
Any method in a supper class can be over ridden in its subclass.
When we implement the Runnable interface, we must define the method
executeUpdate(------------) returns ___________
It is perfectly legal to refer to any instance variable inside of a static method.
DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.
Two methods cannot have the same name in Java.
Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
forName() is a static factory method
The length of a string object 's1' can be obtained using the expression s1.length.
The programmer must explicitly create the system .in and system .out objects.
Join our Chat Group
Join our Twitter Group
Join our Pinterest Group
Join our Facebook Group
Subscribe to our Email Newsletter