What is Abstraction In Java?

Ads
 

What is Abstraction In Java?

Hi,

What is Abstraction In Java? How to use the Abstraction In Java to write program?

Thanks

View Answers

April 16, 2017 at 4:55 PM

Hi, Suppose you are developing important Java class which implements some algorithm. After completion and full testing of the Java class you are planning to release it for other developer.

In case you won't want anyone to modify the data or logic within your class for this you will hide all the functions and variables from external access. This process of hiding/securing the class is know as Abstraction.

Abstraction In Java allows you to hide the class implementation. Check the tutorial Abstraction In Java for examples on Abstraction.

Thanks

Ads









Related Tutorials/Questions & Answers:
What is Abstraction In Java?
Java2
Advertisements
Javah
abstraction
abstraction
Javap Tool application
Artifacts of javax
Javah -  Header File Generator
encapsulation vs abstraction
Abstraction In Java for Java beginners
ModuleNotFoundError: No module named 'javax'
ModuleNotFoundError: No module named 'javax'
Javac -source KeyTest.java
Version of javax>javaee-api dependency
ModuleNotFoundError: No module named 'abstraction'
how to do abstraction for insurance policy being issued...
ModuleNotFoundError: No module named 'javac-parser'
ModuleNotFoundError: No module named 'javac-parser'
Abstraction In Java
Javah - Header File Generator
Version of javax>javaee-endorsed-api dependency
Version of javax>javaee-web-api dependency
diff between encapsulation and abstraction code
Abstraction in Java
Write a program that replaces a, e, i, o, u in Java2
ModuleNotFoundError: No module named 'project-abstraction'
Spring Abstraction with Redis
diff between encapsulation and abstraction code with output
diff between encapsulation and abstraction code with output
diff between encapsulation and abstraction code with output
How to make query and abstraction in Java

Ads