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

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

1536


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.)

587


Write a pascal program to calculate the sum of the first 100 even number and odd number

3955


I have try to write a record in a TDQ from a fle.... what are the steps to do... can anybody plz come with a solution

2196


Hai, My name is nisha.I have NIC exam.If anybody Knows NIC previous paper pattern pls send me to nishanairp@gmail.com

1733






how to convert the data from HTML file to SAS dataset?

2174


write a sql qwery which include joining of two tables 4 marks mainframe

1475


how to fin top two miximum values in sql? not 2nd both max value of 1st and 2nd both have to find out

1480


Write a pseudo code to evaluate a number to any base given (2...16) based on the input. Number greater than 9 should be given as A-F for 10-15.

2070


in IT trend mantis meant what? how to know mantis in IT trends? detail description about mantis?

1639


how to add a new table with variables and thier values into a imported file uisng proc import?

1434


I am work in it aompenei

952


I'm new to ABAP. What is Module pool in SAP?

2110


what is the current salary package in India for a lamp programmer

1864


< DL Compact > tag is used for

1537