![]() Related Questions Will there be a performance penalty if you make a method synchronized? If so, can you make any design changes to improve the performance Latest Answer : yes a method can be static and synchronized ... When you have an object passed to a method and when the object is reassigned to a different one, then is the original reference lost Can we declare multiple main() methods in multiple classes.ie can we have each main method in its class in our program? 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 : No a Class, Method cannot be Garbage collected simply because a class or Method does not have physical exestence in memory and garbage collector is only used for freeing up the memory which only applies to objects not classes or methods.So only objects ... Read Answers (5) | Asked by : chandu Latest Answer : Private protected methods can be overloaded and overrided. But while overrding method following rules must be satisfied We can not narrow the accessibility but can be widen. Means if the access specifier is suppose protected then you can keep it protected ... Read Answers (2) | Asked by : chandu 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 What is the difference between putting a class as abstract or if any of method in class is declared as abstract diference of these two while extending these two types of classes Read Answers (1) | Asked by : karunakar Tags : Abstract Why java does not support inheritance of multiple superclasses?what is achieved by inheritance?why there is no main method in servlets/jsps? Read Answers (10) | Asked by : manoj raut Tags : Inheritance
Sponsored Links
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||