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


Please Help Members By Posting Answers For Below Questions

What is backdrop?

592


What is the difference between path and classpath variables?

520


Describe the syntax of multiple inheritance? When do we use such an inheritance?

580


What is the difference between a field variable and a local variable?

566


What does sprintf return?

583






What restrictions are placed on method overriding?

635


What is the use of inner class?

541


What environment variables do I need to set on my machine in order to be able to run java programs?

599


Can we override final method?

561


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. (

1406


How do you sort data in java?

518


What are inbuilt functions?

562


What is rule of accessibility in java?

538


List down the methods and interfaces of collection class in java.

535


How do you achieve polymorphism in java?

515