What is the difference between Abstract Class and Interface

Answer Posted / arun bhat

Abstract class can have normal methods also but Interface
consists of only abstract methods.....

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we define private and protected modifiers for the members in interfaces?

546


Hi friends am new to java. I read jar file means collection of java files. For executing struts application what are the necessary jar files. " struts.jar " file contains what. can u explain

1440


How do you reverse sort in java?

510


Is singleton set an interval?

536


What is the properties class in java programming?

555






How many JVMs can run on a single machine and what is the Just-In-Time(JIT) compiler?

582


Lowest Common ancestor in a Binary Search Tree and Binary Tree.

562


what are Hostile Applets?

1610


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

1420


What is variable and its types?

550


What does function identity () do?

521


Can bool be null?

528


What are the types of methodology?

518


How many types of parsers are there?

559


Does java allow default arguments?

592