If class is declared abstract then why abstract keyword used before method in abstract class?
In abstract class we declare whole class as abstract i.e incomplete then why abstract keyword needs to declare before method?
-
Israil - 1230 Views
- 6 Answers
A class that is declared using “strongabstract/strong” keyword is known as abstract class. It can have abstract methods(methods without body) as well as concrete methods (regular methods with body). A normal class(non-abstract class) cannot have abstract methods. In this guide we will learn what is a abstract class, why we use it and what are the rules that we must remember while working with it in Java.
-
- 27 May
- 0 Comments
- Share
Didn't get the answer.
Contact people of Talent-Core Java directly by clicking here
-
How to iterate through a text file and search records in a java program?
-
What are the best way to get more knowledge about programming
-
Why does arguments in the methods are initialized with their default value in Java?
-
How do I stop getting emails from this website?
-
In This Program uses the topic are String and StringBuffer and etc.
-
can i compile a java file using classpath and that java file is present in some other directory
-
How does Yout4Work place students based on percentile?
-
this program is not working correctly
-
Illgal argument Exception in getDeclaredConstructor
-
1 2 3 2 3 4 5 4 3 4 5 6 7 6 5 4 5 6 7 8 9 8 7 6 5