10 lines
142 B
Java
10 lines
142 B
Java
public class TestConstructor
|
|
{
|
|
public int a = -1;
|
|
|
|
public TestConstructor(int initial_value)
|
|
{
|
|
a = initial_value;
|
|
}
|
|
}
|