whats is inheritance?

Answer Posted / shalini

Inheritance is the process of acquiring the properties of
one class to another class.

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How does compareto work in java?

567


How many types of equations are there?

536


Is null a string or object in java?

544


Is java a prime method?

550


Is sizeof a preprocessor?

539






What is final method in java?

537


How to find the given number is a prime number or not by getting input from the user

546


What is the difference between the reader/writer class hierarchy and the inputstream/outputstream class hierarchy in java programming?

600


What are the restriction imposed on a static method or a static block of code?

589


What are the Main functions of Java?

623


Explain the selection sort algorithm and state its time complexity?

601


Can singleton class be serialized?

509


What do you mean by light weight and heavy weight components?

549


What are JVM.JRE, J2EE, JNI?

682


Which types of exceptions are caught at compile time?

560