where u use Abstraction and Interface in real time
Answer Posted / praveen
If a user want to interact with my application he need an
interface. With the interface the user can access the
specific methods of a class that implemented the interface.
For example user want to call a method. He already know the
specific class implemented that interface, then he can call
the method through reference object.
Abstract class is used whenever a user restricted to
inheritance but not taking instance of a class or if any
methods are there that should be implement by the user.
Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
Which class should you use to obtain design information about an object in java programming?
What are the differences between getting and load method?
What is the difference between equals() and?
Can we override static methods in java?
Give example to differentiate between call by value and call by reference.
Can you pass functions in java?
What is immutable in java?
why Java does not support multiple inheritances?
What is the purpose of object oriented programming?
What is e in java?
what is the use of pojo (plain old java objects)? how it is interact with crystal reports? pls urgent
How does queue work in java?
Is an empty arraylist null?
What is ternary operator in java?
Explain about collection interface in java?