In real time project when will we use Abstract class. and
what are the difference between abstract and interface.

Answer Posted / satish

In real time when u extend Abstract class no need t provide
implementation f all methods & it contains one abstract
method remaining al r concrete methods
whereas interface we have t provide implementation f all
methods & by default al r abstract methods

Is This Answer Correct ?    10 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is Activation Instantinator?

1891


What are the different approaches to represent an inheritance hierarchy?

570


What is the difference between RMI registry and OS Agent?

617


What class is used to create Server side object ?

1654


Why won’t the jvm terminate when I close all the application windows?

740






What is a sessionfactory? Is it a thread-safe object?

662


Can you give me a simple example of using the requiredif validator rule?

591


Define prototype?

571


What are the oops concept?

567


what are memory considerations of jsp compares to other web components?

5990


hi friends, i have done my BE(CSE)at 2011 then i have joined one company before they asked me 50k so i paid but now they telling no project here so we r going to close like that so now i need any job i have good knowledge in core java and j2ee(jsp,servlet,jdbc) so if u know any job pl help me

1767


What are local interfaces? Describe.

685


What is the form of storage space in java?

1720


Difference between swing and awt?

591


what are the activation groupworks?

1660