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 are the components of marker interface?
What is a class in oop?
What is the difference between procedural programming and oops?
How to hide the base class functionality in Inheritance?
What is overloading and its types?
What is object-oriented programming? Webopedia definition
What is cohesion in oop?
just right the logic of it 1--> If few people are electing then every time ur candidate should win 2--> arrange books in box, if box carry weight == books weight then take another box..... find the no of box required.
Can static class have constructor?
What is abstract class in oop?
Why oops is important?
write a program that takes input in digits and display the result in words from 1 to 1000
There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.
can we make game by using c
What is the highest level of cohesion?