what is difference between interface and abstract class..?

Answer Posted / kumar

Interface:
1)It will contain only abstract methods

Abstract Class:
1)Any class can be declared an abstract class ,but if a
class contains an abstract method it should be declared as
an abstract class.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a variable declaration?

760


Describe string intern() methodology

812


How to implement an arraylist in java?

718


What is the difference between member variables initialization and assignment in a constructor?

914


Can we create our own daemon thread?

741


What do you mean by garbage collection used in java?

810


What is public/private protected in java?

790


What’s the difference between the methods sleep() and wait()?

773


What do you mean by checked exceptions?

753


What is the difference between Grid and Gridbaglayout?

801


Explain different types of wrapper classes in java?

795


Explain the features of java?

793


How does a for loop work java?

783


What is the syntax and characteristics of a lambda expression?

804


I am unable to find or learn about print command. I have a graphical program in core java in applet but i want to give print command but i have coding for that so if anyone know about this plz mail me on avdhesh_chauhan007@yahoo.co.in

1818