what is the difference between abstract class and
Interface?where we can use it in realtime projects?
Answer Posted / prabir kumar
1) Classes can implements any no. of interfaces, but
extends only one abstract class.
2) interfaces can be best the choice when your program need
some global variables.
| Is This Answer Correct ? | 24 Yes | 8 No |
Post New Answer View All Answers
Difference between ‘>>’ and ‘>>>’ operators in java?
how to deploy tomcatserver to weblogic server? write d following steps?
What is java basic concept?
what is the difference between the methods sleep() and wait()? : Java thread
Does sprintf allocate memory?
Is math class static in java?
What is method in java ?
What is multi-catch block in java?
Can a constructor be private and how are this() and super() method used with constructor?
What is an argument java?
Which package has light weight components?
What is the final variable?
how to write a server program and sending the mails to the server using smtp protocol please help me
Which way a developer should use for creating thread, i.e. Sub classing thread or implementing runnable.
what is a working thread? : Java thread