Can i have abstract class with no abstract methods?
Answers were Sorted based on User's Feedback
The class Abstract is defined as are used to declare common
characteristics of subclasses. It is used to provide a
template for concrete subclasses down the inheritance tree.
so we can't have abstract class with no abstract method
| Is This Answer Correct ? | 6 Yes | 24 No |
Answer / venkatesh
No, We can't create abstract class without abstract method
abstract class must have atleast one abstract method
| Is This Answer Correct ? | 19 Yes | 142 No |
I have a String s = java; What is the output when I say s.replaceAll('j', 'k'); Also what is the value of s after replacing?
Is java type safe?
Is singleton set an interval?
What is difference between local variable and global variable?
What is command line argument
What is string builder in java?
which class is the wait() method defined in? : Java thread
Can we use return in constructor?
Difference between java and javascript
What is primitive data type in java?
What is a "pure virtual" member function?
What is the requirement of thread in java?