Record Detail

Compile Error

/in/com/ve472/l1/Main.java:3: error: package com.mycompany.hall does not exist
import com.mycompany.hall.Hall;
                         ^
/in/com/ve472/l1/Main.java:4: error: package com.mycompany.cinema does not exist
import com.mycompany.cinema.Cinema;
                           ^
/in/com/ve472/l1/Main.java:8: error: cannot find symbol
    static Cinema c = new Cinema();
           ^
  symbol:   class Cinema
  location: class Main
/in/com/ve472/l1/Cinema.java:3: error: package com.mycompany.hall does not exist
import com.mycompany.hall.Hall;
                         ^
/in/com/ve472/l1/Cinema.java:10: error: cannot find symbol
    public Map<String, List<Hall>> map2 = new HashMap<String,List<Hall>>();
                            ^
  symbol:   class Hall
  location: class Cinema
/in/com/ve472/l1/Main.java:8: error: cannot find symbol
    static Cinema c = new Cinema();
                          ^
  symbol:   class Cinema
  location: class Main
/in/com/ve472/l1/Cinema.java:10: error: cannot find symbol
    public Map<String, List<Hall>> map2 = new HashMap<String,List<Hall>>();
                                                                  ^
  symbol:   class Hall
  location: class Cinema
/in/com/ve472/l1/Cinema.java:64: error: cannot find symbol
            Hall hall = new Hall(hn,cn,r,c);
            ^
  symbol:   class Hall
  location: class Cinema
/in/com/ve472/l1/Cinema.java:64: error: cannot find symbol
            Hall hall = new Hall(hn,cn,r,c);
                            ^
  symbol:   class Hall
  location: class Cinema
/in/com/ve472/l1/Cinema.java:88: error: cannot find symbol
                List<Hall> hlist= new ArrayList<Hall>();
                     ^
  symbol:   class Hall
  location: class Cinema
/in/com/ve472/l1/Cinema.java:88: error: cannot find symbol
                List<Hall> hlist= new ArrayList<Hall>();
                                                ^
  symbol:   class Hall
  location: class Cinema
/in/com/ve472/l1/Cinema.java:96: error: cannot find symbol
                for (Hall hall_al: map2.get(cn))
                     ^
  symbol:   class Hall
  location: class Cinema
/in/com/ve472/l1/Cinema.java:135: error: cannot find symbol
                        Hall targetHall = null;
                        ^
  symbol:   class Hall
  location: class Cinema
/in/com/ve472/l1/Cinema.java:141: error: cannot find symbol
                        List<Hall> hlist = map2.get(arr[1].trim());
                             ^
  symbol:   class Hall
  location: class Cinema
14 errors

Information

Submit By
Type
Submission
Homework
l1
Language
Java
Submit At
2023-05-18 17:58:25
Judged At
2023-05-18 17:58:25
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes