Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java opp

to inherite all properties of parent class into itself is called inheritance
it is alse kown as "is-a" relationship 

types of inheritance supported by java :::
    1. single      (one class pro to other) 
    2. multilevel  (one class pro to a and a class to b class pro to another)
    3. hierarical  (one class pro to a class and b class)


 
PREVIOUS NEXT
Tagged: #java #opp
ADD COMMENT
Topic
Name
8+6 =