can u give one sinario when you use Abstract Class and When
you use Interface.

Answer Posted / ajay kumar sharma

Interface:
Used for mutiple inheritance.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the meaning of java applet.

688


What are the pillars of java?

570


List the different types of classloaders in java.

609


Is array size fixed in java?

631


How is a structure different from array ?

680






How can I debug the Java security exceptions and AccessControlExceptions?

757


What is static import?

701


Can we call the run() method instead of start()?

693


What is public static?

587


Explain java code for recursive solution's base case?

665


What is a 16 bit word?

660


What string is utf8?

640


What is treeset in java?

635


Explain all java features with real time examples

1307


What are operators and its types?

656