difference of inheritance and interface

Answer Posted / anandhi

INHERITANCE:diriving new class from existing class...
types: single ,multiple,....etc.
its nt support multilevel inhertance...
so we can use interface....

Is This Answer Correct ?    7 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is RMI and what are the services in RMI?

607


What are various types of class loaders used by jvm?

495


Can constructors be synchronized in java?

617


What is the difference between long.class and long.type?

560


How substring() method of string class create memory leaks?

550






Should synchronization primitives be used on bean methods?

551


Why do threads block on i/o?

678


What restrictions are placed on the values of each case of a switch statement?

535


What is JTS?

1862


Why a client should be multithreading? Explain.

591


What’s jboss jbpm?

576


Name the class that is used to bind the server object with RMI Registry?

1692


cud u help me ... i am struggling with this question... to find all the subsets of a given set for ex.... a,,b,c shud give all the subsets.... i gt the program in c bt nt able to get it in java..... help needed ..

1732


What is the highest-level event class of the event-delegation model?

570


Where can I ask questions and make suggestions about seam?

588