Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
상속1
//Title of this code //'main' method must be in a class 'Rextester'. //Compiler version 1.8.0_45 import java.util.*; import java.lang.*; class Rextester { public static void main(String args[]) { Animal ani = new Animal(); ani.Cry(); Dog dog = new Dog(); dog.Cry(); } } // 선조클래스 class Animal{ public void Cry(){ System.out.println("Grr~"); } } // 상속클래스 class Dog extends Animal{ }
run
|
edit
|
history
|
help
0
Ff
string reverse program without arry in java
getListVehicules
do whilee
Increment Operator
Fmt test
Java Functional Programming
2
String is not reference Type??
jb11.0 threads