Is it compulsory to have atleast one abstract method in
abstract class?
Answer Posted / geetha
yes,whenever a class is defined as an abstract it should
have atleast one method as an abstract
Is This Answer Correct ? | 5 Yes | 20 No |
Post New Answer View All Answers
What is backdrop?
What is the difference between path and classpath variables?
Describe the syntax of multiple inheritance? When do we use such an inheritance?
What is the difference between a field variable and a local variable?
What does sprintf return?
What restrictions are placed on method overriding?
What is the use of inner class?
What environment variables do I need to set on my machine in order to be able to run java programs?
Can we override final method?
4.1 Supply contracts (in the form of comments specifying pre- and post conditions) for the enqueue() method of the LinkedQueue class given in the Appendix. (2) 4.2 Let Thing be a class which is capable of cloning objects, and consider the code fragment: Thing thing1 = new Thing(); //(1) Thing thing2 = thing1; //(2) Thing thing3 = (Thing) thing1.clone(); //(3) Explain how the objects thing2 and thing3 differ from each other after execution of the statements. (
How do you sort data in java?
What are inbuilt functions?
What is rule of accessibility in java?
List down the methods and interfaces of collection class in java.
How do you achieve polymorphism in java?