Comment on Tutorial - What is the difference between interface and abstract class? By Karthik



Comment Added by : RAJA

Comment Added at : 2015-06-26 17:28:31

Comment on Tutorial : What is the difference between interface and abstract class? By Karthik
What is the difference between an Interface and an Abstract Class?
A. 1.An abstract class can have instance methods that implement a default behavior
B. 2. An Interface can only declare constants and Interface methods, but cannot implement default behavior and and all methods are implicitly abstract...
C. 1. An abstract class is a class which may have the use all flavors of class members (private, of protected, et) but has some abstract methods.
2. An Interface has all public members and no implementation.
C. both A and B
D. none of these


View Tutorial



Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. grazie!!!
View Tutorial          By: Egidio De Lorenzo at 2011-04-20 12:07:25

2. it is super
View Tutorial          By: vinod at 2011-09-03 04:06:02

3. programming for java is excelent
View Tutorial          By: roldan at 2010-07-19 00:22:52

4. thnks for the loop
View Tutorial          By: Benavidez,Jam at 2010-02-02 01:57:48

5. Thank you ... was very helpfull indeed !!
View Tutorial          By: Avinav at 2011-02-09 15:46:37

6. sir i want how to write record into file and readi
View Tutorial          By: danny at 2011-12-23 16:30:26

7. thanks a lot
View Tutorial          By: Uzzal biswas at 2014-11-04 02:42:54

8. good explanation.
View Tutorial          By: praneeth at 2011-06-20 23:28:00

9. thanq for this tutorial. It is very useful. But i'
View Tutorial          By: syahmi at 2010-03-06 02:55:05

10. good......
View Tutorial          By: Sudip Khatiwara at 2010-04-05 22:31:06