Java MCQ Questions for Placement


Q.  Which model does a Java applet or application talks directly to the data source?

a. Two-tier models
b. Three-tier models
c. Both A & B
d. None of the above


ANSWER: See Answer
 
No explanation is available for this question!
MCQs:  In EJB, middleware services are provided by EJB Container automatically.
Category: Placement Tests,   Published by: teswesm
MCQs:  1099 is the default port used by RMI Registry.
Category: Placement Tests,   Published by: teswesm
MCQs:  Which tag is used to execute java source code in JSP?
Category: Placement Tests,   Published by: teswesm
MCQs:  Which was the first most widely used programming interface for accessing relational databases and it offers the ability to connect all the databases on all the platforms.?
Category: Placement Tests,   Published by: teswesm
MCQs:  Java Plug-in software is not responsible to manage the lifecycle of an Applet.
Category: Placement Tests,   Published by: teswesm
MCQs:  The ActionListener interface is not used for handling action events.
Category: Placement Tests,   Published by: teswesm
MCQs:  What package is a part of the wrapper class which is imported by default into all Java programs?
Category: Placement Tests,   Published by: teswesm
MCQs:  Which methods are commonly used in ServerSocket class?
Category: Placement Tests,   Published by: teswesm
MCQs:  Which constructor of DatagramSocket class is used to creates a datagram socket and binds it with the given Port Number?
Category: Placement Tests,   Published by: teswesm
MCQs:  Which is not a XML function?
Category: Placement Tests,   Published by: teswesm
MCQs:  XML is a programming language like C# or Java.
Category: Placement Tests,   Published by: teswesm
MCQs:  Which are the techniques for defining the structure of a specific type of XML documents?
Category: Placement Tests,   Published by: teswesm
MCQs:  An abstract class has no use when it is extended by some other class.
Category: Placement Tests,   Published by: teswesm
MCQs:  Which provides a new way for your programs to interface with code libraries written in other languages?
Category: Placement Tests,   Published by: teswesm
MCQs:  Which classes has Sun Microsystem suggested not to use for read and write the textual information?
Category: Placement Tests,   Published by: teswesm
MCQs:  Can we start a thread twice?
Category: Placement Tests,   Published by: teswesm
MCQs:  Who is also called father of Java Programming Language?
Category: Placement Tests,   Published by: teswesm
MCQs:  Which string function returns the number of characters in a string?
Category: Placement Tests,   Published by: teswesm
MCQs:  Which default exception handler that performs the following tasks: 1: Prints out exception description. 2: Prints the stack trace (Hierarchy of methods where the exception occurred). 3: Causes the program to terminate.
Category: Placement Tests,   Published by: teswesm
MCQs:  What is the disadvantage of Garbage Collection?
Category: Placement Tests,   Published by: teswesm