What is the differances between a abstract calss and
interface

Answer Posted / abhijit

Abstract base classes can have data members but not interfaces.

Abstract base classes have private access specifier by
default while that of interfaces is public

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are properties in oop?

702


What is overriding vs overloading?

674


Write a program to reverse a string using recursive function?

1882


What are the benefits of polymorphism?

722


What is the point of polymorphism?

679






What is the real time example of inheritance?

728


what are the different types of qualifier in java?

1924


Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box

2140


What is polymorphism and types?

683


What is coupling in oop?

691


What is stream in oop?

944


Is data hiding and abstraction same?

664


How oops is better than procedural?

679


What do you mean by abstraction?

699


Where is pseudocode used?

647