lab7
This commit is contained in:
6
test/CatTest.java
Normal file
6
test/CatTest.java
Normal file
@ -0,0 +1,6 @@
|
||||
public class CatTest {
|
||||
public static void main(String[] args) {
|
||||
Cat orangesmall = new Orange("Turuncu");
|
||||
System.out.println(orangesmall.getColor()+" rengi ismi de: "+orangesmall.getName()+" ve kilosu: "+orangesmall.Weight());
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user