Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
inheritance
class A { int i; } class B extends A { int j; void display() { super.i = j + 1; System.out.println(j + " " + i); } } class Rextester { public static void main(String args[]) { B obj = new B(); obj.i=1; obj.j=2; obj.display(); } }
run
|
edit
|
history
|
help
0
1.6
Test
Length of longest substring
Problem Name: single_digit
클래스의 정의와 인스턴스 생성
names
MinMaxArray
Coding Numbers - Duplicate - Array
Java Switch
calc exp ne