Data update
This commit is contained in:
parent
35bcdeebf8
commit
74c69a0df6
2427 changed files with 31826 additions and 3468 deletions
15
Task/Inheritance-Single/Java/inheritance-single.java
Normal file
15
Task/Inheritance-Single/Java/inheritance-single.java
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
public class Animal{
|
||||
//functions go here...
|
||||
}
|
||||
public class Dog extends Animal{
|
||||
//functions go here...
|
||||
}
|
||||
public class Cat extends Animal{
|
||||
//functions go here...
|
||||
}
|
||||
public class Lab extends Dog{
|
||||
//functions go here...
|
||||
}
|
||||
public class Collie extends Dog{
|
||||
//functions go here...
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue