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
When present, package must be the first no comment statement in the file.
A.
True
B.
False
Correct Answer :
A. True
Related Questions
Which of the following represent legal flow control statements?
Throwing an exception always causes program termination.
Submit button always fires doPost(...)
We would like to make a member of a class visible in all subclasses regardless…
JSP files creates ________________
A panel can not be added to another panel.
Which of the following methods can be used to change the size of a size()…
A variable declared inside the for loop control can not be referenced…
When we invoke repaint () for a Component, the AWT invokes the method:
In the code below, what data types the variable x can have?
An individual array element that is passed to a method and modified in…
Declarations can appear anywhere in the body of a Java method.
All methods in an abstract class must be declared abstract.
Which of the following will produce a value of 10 if x = 9.7?
putValue(...) method takes _____________________-
The programmer must explicitly create the system .in and system .out objects.
executeUpdate automatically updates data because___________
Connection, Statement are interfaces and ResultSet is a class.
A package is a collection of
Message-Driven beans act as a listener for the Java Message Service API,…
In evaluating a logical expression of type 'Boolean expression 1&& Boolean…
With javadoc, which of the following denotes a javadoc comment?
A constructor must always invoke its supper class constructor in its first…
The check box group class is a subclass of the component class.
The use of protected keyword to a member in a class will restrict its…
If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value…
It is an error to have a method with the same signature in both the super…
Consider the following statements: int x = 10, y = 15; x = ((x < y)…
The default case is always required in the switch selection structure.
Any class may be inherited by another class in the same package.
Also checkout
Course of Action MCQ
Statement & Argument MCQ
Engineering Drawing MCQ
Digestive System MCQ
Decision Making MCQ
Computer Cryptography MCQ
Theory of Machines MCQ
Rearrangement Set 3 MCQ
Nuclear Chemistry MCQ
Compounds with Functional Groups Containing MCQ
Logarithm MCQ
Angiosperms (Morphology) MCQ