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

You are given a dictionary of all valid words. You have the following 3 operations permitted on a word: delete a character, insert a character, replace a character. Now given two words - word1 and word2 - find the minimum number of steps required to convert word1 to word2. (one operation counts as 1 step.)

603


Hey this is venkatesh.Please can any body tell me what is SFLNXTCHG?where we use this keyword?what perpuse we use this?Can you tell me in real time senario with example? And in 7 specification(RPG/400)what is the mandatory specification using programs?

1534


what are all the validation we need to perform in data stage?

1952


What are events in smartforms?

1787


how to stop execution of step 3 in a job mainframe

1719






What is Negative testing?

1505


5. Which of the following can you do with DB2 Express- C? Query databases with SQL Query databases with XML using XQuery and XPath Use SQL in Xquery and Xquery in SQL All of the above

2131


4. What is the need of START 0? Instead if can we use any other numeric? If we use what will happen?

1904


How many forms can you create in a Visual Basic 6 Standard EXE project? Is there any limit on that?

1543


8.In DSP,Define Signal and System?and various type of signals.

1562


1. How many jobs can we write in a single file? 2. How many maximum members can exist in a single partition data set(pds) in jcl?

1922


what does mean and stack mean in genral programming?

1451


is it possible to desable particular parameter of the normal orcle report based on some condition ?????? if yes,wht is the function for desabling a parameter...

1587


when we use mantis? how learn mantis?

1693


give idea for creating screen in abap

1649