fork download
  1. package stud;
  2. import bat.batch;
  3. class student
  4. {
  5. String name;
  6. int rno;
  7. batch b;
  8. student(int r,String n)
  9. {
  10. rno=r;
  11. name=n;
  12. }
  13. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
Main.java:2: package bat does not exist
import bat.batch;
          ^
Main.java:7: cannot find symbol
symbol  : class batch
location: class stud.student
  batch b;
  ^
2 errors
stdout
Standard output is empty