Difference between abstract class and Interfaces in Java

Answer Posted / surendrareddy

abstract clas have both abstract methods and Concrete methods.
but interface have only abstract methods,
And also abstract class have construtor,but interface
doesn't have.

Is This Answer Correct ?    48 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Given an array of size n. It contains numbers in the range 1 to n. Each number is present at least once except for 2 numbers. Find the missing numbers.

894


a characteristic of a multiprogramming is? a.simultaneous exe of pgm instr 4m 2 appli b.concurrent processing of 2 r more prgms c.multiple cpu s d.all the abov

1781


could you please tell me how to draw the calibration curve for HPLC {the software which we are using}?

1382


My Qualification is MCA.My interview is on 5th may.They may ask q as------AS u r MCA...Why u r not tring anywhere else? What can be the ans?

1581


Please describe an example where you used object orientation in one of your programs.

1573






sample code for data transfer between two r/2 systems and r/3 systems?

1598


what is log files in qtp what is use

1694


how to study PHP my own? i reffered many sites.. but as being a fresher i couldnt follow those... which site will be the best one?

1935


what is difference between input parameter and output parameter.

4308


Explain with examples any 2 features of OOPS.

750


Explain the types of operations? Draw the figure for shift and rotate operations?

2928


write the a cl program with the following specification A. Accept 2 parameters-date and date type B. if date type is J then convert date to *MDY format C. if date type is M convert date to *JUL format 4.send a program message with the value of converted date Please explain for each with coding?

2287


For a binary tree with n nodes, How many nodes are there which has got both a parent and a child?

3293


public static void main(String args[]) describe it

1666


How to create a new dataset only duplicate observations in proc sort procedure?

1702