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

Answer Posted / rajesh

An abstract class can be implemented in same packakge while
an interface can be implemented in many package.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In how many ways we can do exception handling in java?

587


What is meant by distributed application? Why are we using that in our application?

565


how we can make a write-only class in java?

565


What is a boolean field?

533


What are the features of java?

539






Explain the difference between hashmap and hashtable in java?

494


What is the difference between static and non-static variables in java programming?

528


What is file in java?

566


Is passing by reference faster?

530


Name and explain the types of ways which are used to pass arguments in any function in java.

578


How do you escape in java?

589


What is ternary operator? Give an example.

609


What is the access scope of a protected method?

570


Is set ordered?

547


What is currentthread()?

581