what is the difference between abstract class and
Interface?where we can use it in realtime projects?

Answer Posted / rajesh

An abstract class must contain one abstract methiod while
in interface all method should be abstract.

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is structure of java heap? What is perm gen space in heap?

546


Why parameters should be passed by reference?

504


How does linkedlist work in java?

510


How the interruptible method gets implemented?

569


How to optimize the javac output?

602






Is c better than java?

547


what are different ways in which a thread can enter the waiting state? : Java thread

496


What are the approaches that you will follow for making a program very efficient?

652


How to overcome the exception object reference not set to an instance of object?

626


What is local declaration?

495


How do you create a bulleted list?

571


Is java se free?

524


Can a serialized object be transferred via network?

519


How do you sort in ascending order in java?

526


How do you include a string in java?

526