Answer Posted / dhanya
Any class with one or more abstract method is called an abstract class.It can have data attributes,concrete methods and constructors.Abstract class can differ the implementation
by declaring the method to be abstract,and a Java interface declares only the contract and no implementation.All methods declared in interface are public and abstract.All attributes are public,static and final.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is a class and object?
Why is oop useful?
write a program to find 2 power of a 5digit number with out using big int and exponent ?
can inline function declare in private part of class?
What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?
How is polymorphism achieved?
Which is better struts or spring?
What are the 4 pillars of oop?
Why multiple inheritance is not allowed?
What is encapsulation in oops?
Which is not an object oriented programming language?
What is object and class in oops?
Explain the concepts involved in Object Oriented programming.
Which language is not a true object oriented programming language?
What are the 3 principles of oop?