|
||
|
|||
|
Hi!
I having a stupid doubt....Sorry for asking ths.... when we creating Interface or abstract class we defining method,after that we extends ths interface or abstract class to other class..... for eg : Java Code
interface testInteface{
public void calculation();
}
Java Code
class exampleClass implements testInteface{
public void calculation() { // this called overriding method from interface... but it seems like we creating
method once again what is the advantage of having interface
}
}
help me out............. Thanks, Kalees
Last edited by kalees; 21-09-2009 at 05:22 PM. Reason: Make it clear queries.... |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| JComboBox doubt | rajaramesh.tadi | AWT / Java Swing | 0 | 24-08-2009 01:18 PM |
| a doubt | TARUN JORA | Java Theory & Questions | 2 | 15-05-2009 09:30 PM |
| Doubt About Socket | sivakrish85 | Java Networking | 2 | 08-10-2008 04:03 AM |
|
100 most searched terms
Search Cloud
|
| 2359-unable-move action listener in java actionlistener actionlistener in java addactionlistener addactionlister buffered read two integer value in java create an abstract class called shape with abstract methods+java double to integer double to integer in java double to integer java eclipse shortcut keys exception in thread "awt-eventqueue-0" java.lang.outofmemoryerror: java heap space format double java get files from folder java by threads get mouse position java how to convert list to map in java how to format double in java how to format doubles in java http://www.javaprogrammingforums.com/collections-generics/2688-grade-array-trouble.html http://www.javaprogrammingforums.com/object-oriented-programming/3713-limiting-decimal-places-double.html infix to postfix in java iphone java java actionlistener java cos java deallocate java double format java double to int java font attributes java format double java forum java forums java get mouse position java programming codes using astirisks java programming forum java programming forums java.lang.classformaterror: truncated class file java.lang.outofmemoryerror: java heap space jbutton actionlistener jbutton with key enter jtable questions in java jtext bold jtextfield output from formula jxl.read.biff.biffexception: unable to recognize ole stream kilowatts java program mean value decimal double java oops java assignments smack api messagelistener transaction using gui and 2 dimensional array code in java two dimensional arraylist in java |