![]() Related Questions Can we declare multiple main() methods in multiple classes.ie can we have each main method in its class in our program? 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 : 1.By implementing Runnable interface 2.By Extends Thread class ... Latest Answer : An interface is a specification of method prototypes. All the methods of interface are public and abstract. They are public because they should be available to third party vendors and they are abstract because their implementation is left for third party ... Read Answers (11) | Asked by : prakash 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 Like Object class is inherited by every class, means every class that you define in java is implicitely extending one class that is Object. Similarly i want to know that which interface is implicitely implemented by every class that we define. let me know as soon as possible. Thanks I dont know Read Answers (2) | Asked by : Hrishikesh Write classes/methods to calculate the totallength of a set of lines given the start and end points taking into account overlapping.E.g.Line 1 start: -1.4, end: 3.2 Line 2start: 2.9, end: 4.1etc..Total length would be:line 1 length = 4.6 line 2 length =1.2, but as line 2 overlaps line 1 by 0.3, therefore length of set is 5.5(rather than 5.8).Please see if you can think of good solution! Latest Answer : When we r implementing the some comman methods in the every class at that time we keep that all methods in the one interface. Another way example:- for example for CD Writer soft ware dovelepment all companies(LG,SAMSUNG) follow the method ... Read Answers (6) | Asked by : Shekhar
Sponsored Links
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||