Java MCQ Questions for Placement

Q.  What type of constructor is used to provide different values to the distinct objects?

a. Default constructor
b. Parameterized constructor
c. Overloading constructor
d. None of the above


ANSWER: See Answer
 
No explanation is available for this question!
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
MCQs:  Which are passive controls that do not support any interaction with the user?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  AWT has more powerful components like tables, lists, scroll panes, color chooser, tabbed pane etc.
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Filtered streams are simply wrappers around underlying input or output streams that transparently provide some extended level of functionality.
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Find the correct syntax of the declaration which defines the XML Version?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which is used about text data that should not be parsed by the XML parser?
Category: Placement Tests,   Published by: T-Code Scripts