![]() Related Questions Can we declare multiple main() methods in multiple classes.ie can we have each main method in its class in our program? Latest Answer : let us analyze this in real world OO model:Can a puppy(small dog) extends Cow and Dog? It should be only puppy extends Dog, not both. Puppy(small dog) can't have charectrestics of Cow and Dog ... Read Answers (5) | Asked by : Naresh Tags : Inheritance give me answer Latest Answer : public class CSingleton { private static CSingleton inst= null;private static int count=0;protected CSingleton() { ... Read Answers (5) | Asked by : chandu give me answer Latest Answer : We can use clone() method to create another instance of a singleton class.Example:SingletonObjectClass obj = SingletonObjectClass.createSingletonObject();SingletonObjectClass clone = (SingletonObjectClass) obj.clone();java.lang.Object class has a clone ... Read Answers (1) | Asked by : chandu Latest Answer : I think this is the one of the way to return two refference fro one ObjectClassA extends from ClassBthenin ClassBwe can write like thisClassB b=new ClassB();this is one andClassA a= new ClassB();this is twoof course at complie time it seems to be same ... Read Answers (1) | Asked by : chandu It is a saying that static methods in JAVA programs should be minimised. What is the reason for this? any problems arise or there is any performance measures to be looked into it. br />1.what is oracle.2.what is major differenece oracle8i and oracle9i.4.tell me some thing ur self.5.please tell me about oops.6.what is single inheritance.7.what is multiple inheritance.8.can java support Latest Answer : 8.can java support multiple inheritance.java support multiple inheritance for interfaces not fro classes25.what is difference between procedure and functions.function returns only one value where as procedure returns more than one value ... Latest Answer : Abstract Class: There are two ways to create abstract class, one is by mentioning abstract key before the class declaration, and second one is by mentioning abstract key before the method declaration we can make that class as abstract class.eg:public ... Tags : Abstract Latest Answer : Bez byte code genrated and understtod same on each compiler ... I need some more information about interface. For Example there is no any functionality inside the method which is declared in any interface. Then why i want to implement that interface to my class. 2. Statement is an interface. When i say stmt.executeQuery(). I am getting the records in my ResultSet. How it is possible?.. since there is no functionality insid the methods which is declared in Statement Interface. What is happning here? An idea
Sponsored Links
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||