Java MCQ Questions for Placement

Q.  Which method waits for a thread to die?

a. stop()
b. start()
c. terminate()
d. join()


ANSWER: See Answer
 
No explanation is available for this question!
MCQs:  Which allows hyperlinks to point to specific parts (fragments) of XML documents?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  By interface, we cannot support the functionality of multiple inheritances.
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  The Java Virtual Machine is the cornerstone of the Java platform.
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which method of DataInputStream class reads a line from the file and returns it as a string?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which state is the thread still alive, but is currently not eligible to run?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Both threads are waiting for each other to release the lock, the condition is called deadlock.
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  How many ways are there to access package from another package?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Under which package is the string class encapsulated?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which keyword is used for the block to handle the exceptions generated by try block?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Nested interface must be public if it is declared outside the interface but it cannot have any access modifier if declared within the class.
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  What is used to execute parameterized query?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which class can handle any type of request so that it is protocol-independent?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which ways are used by the Log4j and Logback frameworks in hibernate framework to support logging?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which interface must be implemented by the Action class to store the information in the session scope?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  The life cycle of session bean is not maintained by the application server (EJB Container).
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which objects are used by RMI for communicating with the remote object?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which technology do we mix our business logic with the presentation logic?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which method is used for an SQL statement that is executed frequently?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which is a special type of program that is embedded in the webpage to generate the dynamic content?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Applet runs inside the browser and does not works at client side.
Category: Placement Tests,   Published by: T-Code Scripts