Can i have abstract class with no abstract methods?
Answer Posted / manish kushwaha
HI All,
In Java there is very lovely concept related to Abstract
Class, keep this concept always in your mind i.e.
1) A class can be abstract "without any abstract method".
2) But if a single method is abstract you need to declare
your class as abstract this is mandatory but if class is
abstract then its not mandatory to have abstract methods
as mentioned above.
| Is This Answer Correct ? | 6 Yes | 2 No |
Post New Answer View All Answers
Why is it called buffering?
What is a prefix function.write down a code to compute prefix function.
What is object of class in java?
What data type is a string?
What is a platform?
Can we have any code between try and catch blocks?
Write a function to print Fibonacci series and Tribonacci series?
Which java ide is used the most?
Which types of exceptions are caught at compile time?
What is the exact difference in between unicast and multicast object? Where we will use?
How can we make string upper case or lower case?
What is the difference between this() and super() in java?
What do you understand by classes in java?
What is a lambda expression ? What's its use ?
What are advantages of exception handling in java?