1.class box {
2.int width;
3.int height;
4.int length;
5.}
6.class mainclass {
7.
public static void main
(String args
[]) 8.{
9.box obj = new box();
15.}
16.}
MS5jbGFzcyBib3ggewoyLmludCB3aWR0aDsKMy5pbnQgaGVpZ2h0Owo0LmludCBsZW5ndGg7CjUufSAKNi5jbGFzcyBtYWluY2xhc3Mgewo3LnB1YmxpYyBzdGF0aWMgdm9pZCBtYWluKFN0cmluZyBhcmdzW10pIAo4LnsgICAgICAgIAo5LmJveCBvYmogPSBuZXcgYm94KCk7CjEwLlN5c3RlbS5vdXQucHJpbnRsbihvYmopOwoxNS59IAoxNi59
Main.java:1: error: class, interface, or enum expected
1.class box {
^
Main.java:2: error: illegal start of type
2.int width;
^
Main.java:2: error: ';' expected
2.int width;
^
Main.java:2: error: <identifier> expected
2.int width;
^
Main.java:3: error: illegal start of type
3.int height;
^
Main.java:3: error: ';' expected
3.int height;
^
Main.java:3: error: <identifier> expected
3.int height;
^
Main.java:4: error: illegal start of type
4.int length;
^
Main.java:4: error: ';' expected
4.int length;
^
Main.java:4: error: <identifier> expected
4.int length;
^
Main.java:5: error: illegal start of type
5.}
^
Main.java:5: error: ';' expected
5.}
^
Main.java:6: error: illegal start of type
6.class mainclass {
^
Main.java:6: error: <identifier> expected
6.class mainclass {
^
Main.java:6: error: ';' expected
6.class mainclass {
^
Main.java:7: error: not a statement
7.public static void main(String args[])
^
Main.java:7: error: ';' expected
7.public static void main(String args[])
^
Main.java:7: error: ';' expected
7.public static void main(String args[])
^
Main.java:7: error: illegal start of expression
7.public static void main(String args[])
^
Main.java:7: error: ';' expected
7.public static void main(String args[])
^
Main.java:7: error: ';' expected
7.public static void main(String args[])
^
Main.java:9: error: not a statement
9.box obj = new box();
^
Main.java:9: error: ';' expected
9.box obj = new box();
^
Main.java:10: error: not a statement
10.System.out.println(obj);
^
Main.java:10: error: ';' expected
10.System.out.println(obj);
^
Main.java:11: error: not a statement
15.}
^
Main.java:11: error: ';' expected
15.}
^
Main.java:12: error: not a statement
16.}
^
Main.java:12: error: ';' expected
16.}
^
Main.java:12: error: reached end of file while parsing
16.}
^
30 errors