Home
PDF Store
Exams
G.K.
Aptitude
Reasoning
English
Computer
Biology
Privacy
About
Contact
Home
All MCQ
Exams
PDF Store
G.K.
Aptitude
Reasoning
English
Computer
Biology
Privacy
About
Contact
What is the correct answer?
4
Which of the following keywords are used to control access to a class member?
A.
default
B.
protected
C.
interface
D.
None of the above
Correct Answer :
B. protected
Related Questions
In a single Servlet class we can use____________
A static class method can be invoked by simply using the name of the method…
If m and n are int type variables, what will be the result of the expression'm…
Declarations can appear anywhere in the body of a Java method.
It is perfectly legal to refer to any instance variable inside of a static…
When we invoke repaint () for a Component, the AWT invokes the method:
Submit button always fires doPost(...)
An EJB is a server-side component that encapsulates the business logic…
A constructor must always invoke its supper class constructor in its first…
It is perfectly legal to assign a subclass object to a supper class reference.
Which of the following represent legal flow control statements?
JdbcOdbcDriver is an object of Object class
A thread can make second thread ineligible for execution by calling the…
All the bitwise operators have the same level of precedence in Java.
To delete a file, we can use an instance of class file.
Every method of a final in class is implicitly final.
A class may be both abstract and final.
Which are the valid ways to create DataInputStream streams?
Which of the following will produce a value of 10 if x = 9.7?
Any method in a supper class can be over ridden in its subclass.
Which key word can protect a class in package from accessibility by the…
executeUpdate automatically updates data because___________
A final class may not have any abstract method.
One the features of is that an array can store many different types of…
A Java monitor must either extend thread class or implement Runnable interface.
DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend…
Which of the following control expressions are valid for an if statement?
forName() is a static factory method
Frames and applets cannot be used together in the same program.
The setBackground() method is part of the class
Also checkout
Cell - the unit of life MCQ
Organic Chemistry MCQ
Phylum - Coelentrata MCQ
Rearrangement Set 5 MCQ
Indian History MCQ
Letter and Symbol Series MCQ
Neurology MCQ
General Physics MCQ
Structural Organization In Animals MCQ
Phylum - Annelida MCQ
Urology MCQ
General Biology Set 2 MCQ