1
public class MyObjectTest {
2
public static void main(String[] args) {
3
MyObject2 obj = new MyObject2();
4
obj.booleanMethod(false);
5
obj.byteMethod((byte)1);
6
obj.shortMethod((short)1);
7
obj.charMethod((char)1);
10
obj.floatMethod(1.0f);
11
obj.doubleMethod(1.0);