đź§Ş J2EE MCQ Quiz Hub

J2EE Mcq Question Set 1

Choose a topic to test your knowledge and improve your J2EE skills

1. What exception is thrown when Servlet initialization fails?




2. The classes in the _________ directory must be available for the “Classloader” of the application?




3. Which of the following statements are correct about the status of the Http response?




4. Why are beans used in the J2EE architecture instead of writing all the code in the JSPs?




5. What is correct about JSP Scriptlets ?




6. Which method is called first each time a servlet is called?




7. What is the scope of response object?




8. In JSP, how can you tell which HTTP method (GET or POST) is being used by the client request?




9. What is the difference between using “forward” and “sendRedirect()”?




10. How can a servlet call a JSP error page?




11. Any client request to access resources in the WEB-INF/ directory must be returned with a ________?




12. Which of the following is not an implicit object in JSP?




13. Which of the following is a challenge in a J2EE?




14. Which of the following is not a J2EE client?




15. Which of the following is not a web centric component?




16. Which of the following is not a reserved word?




17. Which one of the following that controls communication between tiers in J2EE multi tiers architecture?




18. Which of the following act as an interface between a component and the low level platform?




19. Which of the following is not a feature of Message Driven Bean?




20. A JMS message producer is created by




21. Which technology provides the flexibility to swap between XML processors with no application code changes?




22. Which is the serializable interface




23. Abstract class can’t be final in java.




24. It is ________ to have an abstract method.




25. How many abstract classes can a single program contain?




26. Which is a wrapper class?




27. Attribute in an applet tag is _________




28. Attribute in an applet tag is _________




29. JSP expression is represented by _____




30. JSP directive is represented by _____




31. What will specify IS A relationship?




32. Abstract class can be ______




33. log() method is available in which interface?




34. If a table has 2 columns with NOT NULL and UNIQUE constraints on it ..what will be the candidate/ primary key?




35. Super key can be of ______




36. Implicit cursors will be used in _____




37. comparison operator in SQL




38. How to give the title to a table?




39. How to give the italics style in html




40. What is the immediate superclass of Applet class?




41. ______ class is a wrapper class for the character data type.




42. Which operator is used as a termination operator in SQL?




43. Return type of getparameter(string) is _______




44. Servlet is ______




45. ER diagram is __________




46. What will be the column heading for the given query? SELECT sal*10 supply FROM emp;




47. The syntax for the frame _______




48. _______ is the superclass of all classes that are in input streams.




49. Classloader is a part of _______




50. The argument for the service method




51. The package of Generic Servlet is ________




52. Array in java is ________