Explain about Superclass and Subclass?

Answer Posted / kumari

super class all properties bydefault available to the sub class super class properties and methods inherited in subclass
if sub class not satisfy with super class properties then modify that properties by using oop's concept.

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the largest long allowed by java?

809


Explain about assignment statement?

838


how to prepare for IT Officers Interview in Banks

1727


How do you replace all in word?

740


Why does java not allow multiple public classes in a java file ?

3986


What does sprintf mean?

744


Which collection does not allow duplicates in java?

739


What is a wrapper method?

790


Explain the differences between static and dynamic variables?

883


Does constructor return any value?

799


Is list thread safe in java?

726


Which way a developer should use for creating thread, i.e. Sub classing thread or implementing runnable.

728


How to avoid memory leak in java?

857


How to calculate the length of a singly linked list in java?

793


What is the difference between scrollbar and scrollpane?

860