answersLogoWhite

0

What is abstaction in java?

Updated: 8/19/2019
User Avatar

Wiki User

13y ago

Best Answer

The concept of abstraction is concept talked about when talking about inheritance. When you make a class abstract, it means that the class is a general "abstract" idea, not something you want to instantiate (create an object from.) However, abstract classes are useful for when you want to create real sub-classes of the abstract class. For example, you could have an abstract class named "animal" that had the general characteristics of all animals, then you can have regular sub-classes that inherit "animal", like "dog", "cat" or "horse." The reason for making the "animal" class abstract is to make sure that one can't create a generic "animal" object, but so they can create objects that inherit the idea of "animal."

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is abstaction in java?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is abstaction?

An abstract is the entire summary of something.


What does abstaction mean?

1. a concept or idea not associated with any specific instance2. a sketchy summary of the main points of an argument or theory


What Indonesian island is Jakarta on?

java


Does Visual Java plus plus and Java Builder is different from the Java language?

Yes!Visual Java plus plus and Java Builder is different from the Java language?


What are the different java technologies?

There are several types of Java technology. Some examples of Java software are Java ME, Java EE, Java SE, and Java Card. Java made the JAVA development kit for those that develop in Java. There is also Java Virtual machine and some class libraries. Java is also famous for its languages like Clojure, Beanshell, Groovy, Gosu, Rhino, Kotlin, JRuby, Scala, and Jython.


Small Java-based programs are called?

Java applets


Differences between Java Applet and Java Beans?

Java applet is a program used to run java applications while beans is a compiler used to design java programs (IDE, GUI) :-) GilbertC


Who create Java and when?

Who create Java & when? Why he create java ? What are mane functions of it?


What do you call java and javascript?

Well you get java as java and javascript as iava.


Supermost package of java?

The supermost package of Java is the "java" package.


What country is known for its java coffee in the Java sea?

Java coffee is made in Java, which is an island - part of INDONESIA


What is java 7?

Java 7 is the most current version of Java. Many movies and games use Java.