Java MCQ Questions for Placement

Q.  In Graphics class which method is used to draws a rectangle with the specified width and height?

a. public void drawRect(int x, int y, int width, int height)
b. public abstract void fillRect(int x, int y, int width, int height)
c. public abstract void drawLine(int x1, int y1, int x2, int y2)
d. public abstract void drawOval(int x, int y, int width, int height)


ANSWER: See Answer
 
No explanation is available for this question!
MCQs:  Spring framework provides an difficult way to manage the dependency, It cannot be easily integrated with struts 2 framework.
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Abbreviate the term JMS?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  A message driven bean is like statefull session bean that encapsulates the business logic and doesn't maintain state.
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  EJB QL is a Query Language provided for navigation across a network of enterprise beans and dependent objects defined by means of container managed persistence.
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Abbreviate the term DGC?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  An RMI Server is responsible for _______
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Java supports RMI, RMI Stands for?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which Error Handling in Java handles runtime errors with exceptions, If an exception is not caught in your JSP or Servlet, Resin will use a special error page to send results back to the browser, Resin uses a default error page unless you explicitly provide an error page yourself?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which object of HttpSession can be used to view and manipulate information about a session?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Connection Pooling Class manages no of user requests for connections to improve the performance.
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which case of a session bean obtains the UserTransaction object via the EJBContext using the getUserTransaction() method in EJB transaction management?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which services are provided to EJB components by the EJB container?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which is an object, acts as a gateway for the client side, all the outgoing requests are routed through it and it resides at the client side and represents the remote object?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  In RMI Architecture which layer Intercepts method calls made by the client/redirects these calls to a remote RMI service?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which attribute specifies a JSP page that should process any exceptions thrown but not caught in the current page?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  What technique is used for the authentication mechanism in the servlet specification?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Abbreviate the term UDA?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  How many Result sets available with the JDBC 2.0 core API?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which method is used for retrieving streams of both ASCII and Unicode characters is new in the JDBC 2.0 core API?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which JDBC type represents a "single precision" floating point number that supports seven digits of mantissa?
Category: Placement Tests,   Published by: T-Code Scripts