Difference between abstract class and Interfaces in Java

Answer Posted / venkateswarlu dhaninkula

Interfaces consists of pure abstract methods
but not abstract class

abstract class having both abstract methods and non
abstract methods

interfaces declare all variables are final and public

but not abstract class

abstract class has a default constructor

but not interface

Is This Answer Correct ?    8 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

diffrence between oracle apps , .NET , SAP

1865


Can i please VHDL code for D-Latch with clear input ?? (HINT: Set up a “Process” with appropriate sensitivity list to get the desired D-Latch with Clr working.) Inputs and Outputs: entity Lab4b is Port ( Clr, Clk, D : in STD_LOGIC; Q : out STD_LOGIC); end Lab4b;

1253


what is difference between input parameter and output parameter.

4451


< DL Compact > tag is used for

1756


how to convert hashmap to arraylist with iteration

1455


what is programmable BIST in today ic design

1885


what is the meaning of without standing arrears?

10164


what is the basic and unique feature of dotnet

1996


hi This is radhika.Can anyone help me to know the question papers of NATIONAL INFORMATICS CENTRE for the post of scientific officer/engineer? if anyone know plz tell me question paper pattern

1799


Please forward important interview and basic questions in VB6 on my email id: usneha_16@yahoo.co.in

1811


if 2 is passed as an argument to the method,void GC.Collect then what would be the result?

1418


why we use mantis? what u mean mantis in IT trends? addvantages of mantis?

1986


Explain polymorphism. Provide an example.

811


what are the missinschema properties and should we pass primary key in select command

1653


In mainframe SDSF, Can we copy the list of jobs currently executing in SDSF in to a seperate DATASET...?

2028