what is ABSTRACTION and what are using in real time project?
Answer / tarun
Abstraction is a concept of hiding complex implementation and providing required functionality to the user is known as abstraction.
in real time
1.service provider creates an Abstract Data Type(ADT).
2.Abstract datatype contains only the operation name not the implementation.
3.Implementation for those operations are provided in sub type.
4.Service user uses ADT and call methods because of polymorphisam implementation execute based on exact instance provided at run time.
| Is This Answer Correct ? | 7 Yes | 0 No |
Explain about object oriented programming and its features?
What is contractor means and methods?
What is the purpose of encapsulation?
What is inner class?what is the use of inner class?where we create the object for inner class? and inner class can extend any class or inner class can implement any interface?
Can we write multiple catch blocks under single try block?
Explain what access modifiers can be used for variables?
What are the parts of a method?
What are the differences between abstract class and interface?
class A { class B { psvm(String args[]) { } } } if the prg saved in A.java whats the o/p?
can u give one sinario when you use Abstract Class and When you use Interface.
What is a parameter in a function?
What will happen if non-synchronized method calls a static synchronized method and what kind of lock it acquires?