Java MCQ Questions for Placement


Q.  What is the disadvantage of Garbage Collection?

a. It makes java memory efficient because garbage collector removes the unreferenced objects from heap memory
b. It is automatically done by the garbage collector so we don't need to make extra efforts
c. None of the above
d. Both A & B


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