- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
import java.util.*;
public class Main
{
public static void main(String[] args)
{
two s = new two(25);
s.get();
}
}
class one
{
private int a;
one(int a)
{
this.a = a*2;
}
void get()
{
System.out.println(a);
}
}
class two extends one
{
void get()
{
get();
}
two(int a)
{
super(a);
}
}
blondi 20.06.2017 16:34 # −2
j123123 06.07.2017 20:35 # 0
bormand 23.06.2017 18:36 # 0