![]() Related Questions EjbCreate() method of CMP bean returns (a) null (b) Primary Key class (c) Home Object (d) Remote Object (a) Explanation: ejbCreate() method of BMP bean returns the Primary Key, where as ejbCreate() method of CMP bean returns null. (b) Latest Answer : Runnable Interface ... (d) Latest Answer : The answer is all of the above, Stateful session beans contain Home interface, Remote interface, Bean class ... A servlet implements Single Thread model public class BasicServlet extends HttpServlet implements SingleThreadModel { int number = 0; public void service(HttpServletRequest req, HttpServletResponse res) { } } A method is defined in a class as : void processUser(int i) { } If this method is overriden in a sub A method is defined in a class as : void processUser(int i) { } If this method is overriden in a sub class, (a) the new method should return int (b) the new method can return any type of values (c) the argument list of new method should exactly match that of overriden method (d) the return type of new method should exactly match that of overriden method 1. what are the different types of design patterns in core java ?2. what do we mean by value object design pattern ? Read Answers (2) | Asked by : ranjan Latest Answer : Singleton class has only one instance, and to provide a global point of access to it.ex class Singleton { public: static Singleton* Instance(); protected: Singleton(); ... Read Answers (1) | Asked by : rekha Latest Answer : File f = new File(""); f.length(); ... Read Answers (1) | Asked by : raga 1.What will be the output?boolean a = false if (a=true){ System.out.ptinln("Hello");}else{ System.out.ptinln("GoodBye");}2. Hashmap , hashset , ArrayList(true, true, false)3.Which need Latest Answer : answer is true ... Read Answers (2) | Asked by : Vartika
Sponsored Links
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||