Abstraction

Advertisements
Advertisements
Advertisements3
Advertisements4
Advertisements6
Advertisements66

1. What is the purpose of abstraction in Java?

Ans. To provide a way to hide the implementation details of a class.

2. What is an abstract class in Java?

Ans. A class that can not be instantiated.

3. What is an abstract method in Java?

Ans. A method that has no implementation.

 
 
 

Author: Lakshmi Prasanna Ponnala

Completed M.Tech in Digital Electronics and Communication Systems.

Leave a Reply

error: Content is protected !!

Discover more from ece4uplp

Subscribe now to keep reading and get access to the full archive.

Continue reading