What is difference between abstract and instance in Java | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is difference between abstract and instance in Java

22nd Dec 2019, 9:34 AM
Aniruddha
1 Answer
0
abstract is sth you can't directly use, like abstract methods or abstract classes. You have to make child-classes of that class which is abstract or has abstract methods to overwrite them to actually use the method/class instance is an object from an class. you create an instance of an class with the 'new' keyword
22nd Dec 2019, 9:55 AM
Anton Böhler
Anton Böhler - avatar