What is the difference between Abstract Class and Interface
Answer Posted / ravi
1.A programmer creates abstract class when there are some
common features shared by all the objects.
A programmer writes an interface when all the features
should be implemented differently for different objects.
2.When an abstract class is written the programmer should
provide sub classes to it.
A programmer writes an interface when he wants to leave
implemntation classes to third party vendors.
Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
Is java based on c?
What are the advantages of inner classes?
what is the use of bean managed and container managed with example?
Where can i get Latest SUN Certification Dumps and what are the Sun Certification Codes that are available, Im new to JAVA, so please gimme info as i need to write J2EE - Core Java Certification
What is balanced tree in java?
Explain the private protected method modifier?
How to perform selection sort in java?
Is char * a string?
What do you understand by an io stream?
What is java console application?
Can you call a method in a method?
How will you get the platform dependent values like line separator, path separator, etc., ?
What is linked hashset and its features?
We are seeing so many videos/audios as many web sited. But question is these videos or audios are stored in Databases ( Oracle, Mysql, Sybase,... ) or stored any file directory from there they will give the link for that? Pls explain and give sample code to achieve this one? Thanks, Seenu.
what is mena by object block any what is the use of that