Inheritance
Inheritance is the most importance natural regular for all the species.
By the inheritance, the humans can develop generation by generation.The son can inheritance all of the father's advantages and possess the new special property.By this process,the humans can exist on the earth and developed better and better.
The above is the simple relation between father and son.There is a suppose,if the son can inherit the advantages from all the relatives,not only the father,the development of the humans can't be imagined.
All of the above is only the theory of inheritance.Only show that i understand the logic,but can't show that i can do thing as the theory.So i can't learn the wisdom inherit from the others.For example ,since i touch java language for 2 years,but i learn less than the 2 years.Why?Maybe the most importance reason is that i can't inherit from yesterday.I know about something yesterday,and would throw it till tomorrow.The experience and habit can not possess by the time.
class yesterday{
status st1;
public do1(){
return;
}
}
class today extends yesterday{
status st2;
public today(){
System.out.print("Progressing...");
}
public do2(){
return;
}
public do1(object o1){
return;
}
}
public class test{
public static void main(String[] args){
new today();
}
}
By the inheritance, the humans can develop generation by generation.The son can inheritance all of the father's advantages and possess the new special property.By this process,the humans can exist on the earth and developed better and better.
The above is the simple relation between father and son.There is a suppose,if the son can inherit the advantages from all the relatives,not only the father,the development of the humans can't be imagined.
All of the above is only the theory of inheritance.Only show that i understand the logic,but can't show that i can do thing as the theory.So i can't learn the wisdom inherit from the others.For example ,since i touch java language for 2 years,but i learn less than the 2 years.Why?Maybe the most importance reason is that i can't inherit from yesterday.I know about something yesterday,and would throw it till tomorrow.The experience and habit can not possess by the time.
class yesterday{
status st1;
public do1(){
return;
}
}
class today extends yesterday{
status st2;
public today(){
System.out.print("Progressing...");
}
public do2(){
return;
}
public do1(object o1){
return;
}
}
public class test{
public static void main(String[] args){
new today();
}
}
0 Comments:
Post a Comment
<< Home