Java MCQ Questions for Placement

Q.  A class is declared inside a class but outside a method it is known as ________.

a. Anonymous Inner class
b. Member Inner class
c. Local Inner class
d. Static nested class


ANSWER: See Answer
 
No explanation is available for this question!
MCQs:  What will happen if we call the run() method directly instead of calling the start() method?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which package includes all the standard classes of java?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  How many types of constructor are defined in the StringTokenizer class?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which class is used when a program does not want to handle an exception?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  What type of constructor is used to provide different values to the distinct objects?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  JDBC stands for?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which HTTP Request method is non-idempotent?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  What does the Session object hold?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which servlet does the struts framework use?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  What represents a persistent global data from the database?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  RMI Architecture consists of how many layers?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which is the Microsoft solution for providing dynamic Web content?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which JDBC product components does the Java software provide?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  What is used to run an Applet?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  How many types of controls does AWT support?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Where does the primitive data type values be stored?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  URL is an acronym for?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which language is case sensitive?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Abbreviate the term DOM?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  An XML parser converts an XML document into an XML DOM object, which can then be manipulated with JavaScript.
Category: Placement Tests,   Published by: T-Code Scripts