Java MCQ Questions for Placement


Q.  When an applet begins, in which sequence will the AWT call the methods?

a. init(),paint(),start()
b. Start(),paint(),init()
c. intit(),start(),paint()
d. paint(),start(),init()


ANSWER: See Answer
 
No explanation is available for this question!
MCQs:  In JSP how many ways are there to perform exception handling?
Category: Placement Tests,   Published by: teswesm
MCQs:  Which JDBC drivers will run your program?
Category: Placement Tests,   Published by: teswesm
MCQs:  All Applets must import java.applet and java.awt.
Category: Placement Tests,   Published by: teswesm
MCQs:  Swing is not a part of JFC (Java Foundation Classes) that is used to create GUI application
Category: Placement Tests,   Published by: teswesm
MCQs:  What method Returns an enumeration of the keys which includes those keys found in the default property list?
Category: Placement Tests,   Published by: teswesm
MCQs:  Which package provides core functionality?
Category: Placement Tests,   Published by: teswesm
MCQs:  Which class is used to create servers that listen for either local client or remote client programs?
Category: Placement Tests,   Published by: teswesm
MCQs:  Which is a software- and hardware-independent tool for carrying information?
Category: Placement Tests,   Published by: teswesm
MCQs:  XML is the most common tool for data transmissions between all sorts of applications
Category: Placement Tests,   Published by: teswesm
MCQs:  Which internet language is used for describing available web services in XML?
Category: Placement Tests,   Published by: teswesm
MCQs:  A final class is not to be inherited.
Category: Placement Tests,   Published by: teswesm
MCQs:  What is meant by JIT?
Category: Placement Tests,   Published by: teswesm
MCQs:  From where the SequenceInputStream class is used to read data?
Category: Placement Tests,   Published by: teswesm
MCQs:  Which method in thread class causes the currently executing thread object to temporarily pause and allow other threads to execute?
Category: Placement Tests,   Published by: teswesm
MCQs:  Which package is used for GUI?
Category: Placement Tests,   Published by: teswesm
MCQs:  Which method causes the current thread to wait for the specified milliseconds, until the another thread notifies? (invokes notify() or notifyAll() method)?
Category: Placement Tests,   Published by: teswesm
MCQs:  What are the main subclasses of the Exception class?
Category: Placement Tests,   Published by: teswesm
MCQs:  If there is no constructor in a class, compiler automatically creates a default constructor.
Category: Placement Tests,   Published by: teswesm
MCQs:  Which method is used to invoke the garbage collector to perform the cleanup processing?
Category: Placement Tests,   Published by: teswesm
MCQs:  In the following JDBC drivers which is known as fully java driver?
Category: Placement Tests,   Published by: teswesm