Run Code  | API  | Code Wall  | Users  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

Java messing around

Language: Layout:
+ ] Show input
Compilation time: 0.42 sec, absolute service time: 0,58 sec  
edit mode |  history  | discussion
Error(s), warning(s):
source_file.java:71: error: ';' expected
    public static void main (String args[])
                                           ^
source_file.java:80: error: <identifier> expected
    vol = mybox1.volume(); 
       ^
source_file.java:81: error: <identifier> expected
    System.out.printin("Volume of mybox is " + vol);
                      ^
source_file.java:81: error: illegal start of type
    System.out.printin("Volume of mybox is " + vol);
                       ^
source_file.java:81: error: ')' expected
    System.out.printin("Volume of mybox is " + vol);
                                            ^
source_file.java:81: error: ';' expected
    System.out.printin("Volume of mybox is " + vol);
                                              ^
source_file.java:81: error: illegal start of type
    System.out.printin("Volume of mybox is " + vol);
                                                  ^
source_file.java:81: error: <identifier> expected
    System.out.printin("Volume of mybox is " + vol);
                                                   ^
source_file.java:81: error: ';' expected
    System.out.printin("Volume of mybox is " + vol);
                                                    ^
source_file.java:82: error: illegal start of type
        System.out.printin("Weight of mybox1") + mybox1.weight);
              ^
source_file.java:82: error: ';' expected
        System.out.printin("Weight of mybox1") + mybox1.weight);
                  ^
source_file.java:82: error: invalid method declaration; return type required
        System.out.printin("Weight of mybox1") + mybox1.weight);
                   ^
source_file.java:82: error: illegal start of type
        System.out.printin("Weight of mybox1") + mybox1.weight);
                           ^
source_file.java:82: error: ';' expected
        System.out.printin("Weight of mybox1") + mybox1.weight);
                                              ^
source_file.java:83: error: <identifier> expected
        System.out.printin();
                          ^
source_file.java:83: error: reached end of file while parsing
        System.out.printin();
                             ^
16 errors