What is the difference between Abstract Class and Interface

Answer Posted / sushil

Abstract class can contain abstract as well as non-abstract
methods while Interface can have only abstract Methods

Is This Answer Correct ?    48 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is null a keyword in java?

559


Can we extend singleton class?

533


Why are the destructors for base class and derived class called in reverse order when the program exits

1712


What is %02d?

580


Why string objects are immutable in java?

568






What does java final mean?

522


Can a static block throw exception?

660


What does function identity () do?

521


What is a percentage sign called?

621


Why can't we override private static methods?

521


What is the maximum length of a url?

515


What are recursive functions? Give some examples?

620


What do you understand by the term polymorphism?

633


What is keyword in oop?

525


What is parseint?

540