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 thread safe java?

703


How do you create a method in java?

755


How to split arraylist elements in java?

848


State two differences between C and Java.

957


worst case complexities of Quick sort and Merge sort.

797


Why string is immutable with example?

727


What are keywords give examples?

804


What is the maximum length of a url?

728


Are true and false keywords?

793


what are different ways in which a thread can enter the waiting state? : Java thread

714


how to create constants in java?

834


Difference between default and protected access specifiers?

736


Write a code to create a trigger to call a stored procedure

741


What is default switch case? Give example.

784


How does java enable high performance?

929