There can be a abstract class without abstract methods, but
what is the need to declare a class abstract if it doesn't
contain abstract methods?
Answer Posted / zartab
An abstract class when declared, any method declared inside it becomes implicitly abstract and hence any class extending it have to provide deferred implementation.
Is This Answer Correct ? | 2 Yes | 14 No |
Post New Answer View All Answers
What restrictions are placed on method overloading?
What is JVM and is it platform independent?
What is a predicate method?
How can you set an applet’s height and width as a percentage?
What is use of map in java?
hr interview how many minutes asking question
How do I compare two strings in word in java?
What is meant by tab pans?
What is java objectoutputstream?
How to perform bubble sort in java?
How do you declare a variable?
Difference between string s= new string (); and string s = "abv";?
Can we declare the static variables and methods in an abstract class?
What is the default access specifier for variables and methods of a class?
Explain which of the following methods releases the lock when yield(), join(),sleep(),wait(),notify(), notifyall() methods are executed?