Difference between abstract class and Interfaces in Java

Answer Posted / narasimha raju

An abstract classes can have concrete methods and declares
abstract method which method can implement in different
ways. whereas in interface all are abstract methods.
in abstract class we can declare any type of variable
but in interface all are final variables.

Is This Answer Correct ?    8 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to add Servlet-api.jar file into eclipse 3.3.2 ?

4045


WHat is execution in manual testing and when will we start execution and what language we use in execution

1478


What are the Short cut Keys of Tally ERP?

1765


why we use abstract word in abstract window toolkit in java language.

1757


I HAVE DONE TESTING TOOLS COURSE,NOW I AM FRESHER,I AM NOT GETTING ANY CALLS,I WANT TO DO THE PROJECT ,WHERE I HAVE TO MEET TO DO THE PROJECT,I AM GOING WITH FAKE EXPERIENCE,SO WHAT I HAVE TO DO.

4277






they asked me about srs (software requirement specifcation)? how can i get anydocumentation about srs & other documnts infomation like bdd, in testing? its urgent?

1446


what is the difference between an OS(operating system) and Framework?

1514


Hello Experts, What is the difference between move and move corresponding exactly? please post me asap

1327


what is the difference between Windows application and Unix application?

2152


ok how would i do the following extract from a file i have ssns = 267907230 which are in column 7 into a separate data set then create a 2nd job step to extract from the data set created the following "fund code" which is in column 31 and is 113 into yet another data set

1550


Is buffer size and file block size is similar? If similar,at which case it will be same size?

1729


what is d main diff between the java and .net framework

1542


hi, all this is shoba m.c.a . i have learned abap but no oppurtunities right now as fresher , right now i want to learn any course on demand any one pls suggest me good course and institute in hyderabad

1383


Outline the two important features of a terminating recursion. Any ideas?

1679


Write a program to find factorial of a number using functions

1236