Difference between abstract class and Interfaces?

Answer Posted / ravikiran

abstract class is the one which canhave both abstract as
well as non abstract methods
Interface is the one which has all the methods are abstract

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is cr keyboard?

656


How do you use equal in java?

543


What is the difference between break and continue statements?

547


When a byte datatype is used?

567


What does sprintf mean?

535






Explain about complier design(phases)

628


What are the problems faced by java programmers who don't use layout managers?

556


Is null an object in java?

564


Which is faster call by value or call by reference?

501


Can we declare a constructor as final?

676


What is formatted output?

514


What do you understand by garbage collection in Java? Can it be forced to run?

554


Is arraylist ordered?

563


Explain the private field modifier?

611


What is double word?

533