Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

VisualMobileSystem

 
micheal frost
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
below is the code for by VisualMobileSystem program.




these are thethings the compiler is talking about


C:\Documents and Settings\ABK\My Documents\PA\VisualMobileSystem.java:8: cannot find symbol
symbol : class MobileSystem
location: class VisualMobileSystem
private MobileSystem vodaPhone;
^
C:\Documents and Settings\ABK\My Documents\PA\VisualMobileSystem.java:9: cannot find symbol
symbol : class MobileStation
location: class VisualMobileSystem
private MobileStation ms;
^
C:\Documents and Settings\ABK\My Documents\PA\VisualMobileSystem.java:66: cannot find symbol
symbol : class MobileStation
location: class VisualMobileSystem
private static void serveMobileStation(MobileStation ms, MobileSystem msc)
^
C:\Documents and Settings\ABK\My Documents\PA\VisualMobileSystem.java:66: cannot find symbol
symbol : class MobileSystem
location: class VisualMobileSystem
private static void serveMobileStation(MobileStation ms, MobileSystem msc)
^
C:\Documents and Settings\ABK\My Documents\PA\VisualMobileSystem.java:74: cannot find symbol
symbol : class MobileStation
location: class VisualMobileSystem
private void updateStatus(MobileStation ms)
^
C:\Documents and Settings\ABK\My Documents\PA\VisualMobileSystem.java:15: cannot find symbol
symbol : class MobileSystem
location: class VisualMobileSystem
vodaPhone = new MobileSystem("VodaPhone Systems");
^
C:\Documents and Settings\ABK\My Documents\PA\VisualMobileSystem.java:16: cannot find symbol
symbol : class MobileStation
location: class VisualMobileSystem
ms = new MobileStation("Siemes 45i", 100, 100);
^
C:\Documents and Settings\ABK\My Documents\PA\VisualMobileSystem.java:68: cannot find symbol
symbol : class Rbs
location: class VisualMobileSystem
Rbs servingRbs = msc.findRbs(ms.getX(),ms.getY());
^
C:\Documents and Settings\ABK\My Documents\PA\VisualMobileSystem.java:78: cannot find symbol
symbol : class Rbs
location: class VisualMobileSystem
Rbs rbs = ms.connectedRbs();
^
9 errors

Tool completed with exit code 1
 
Eideo Guo
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you have to import the class MobileSystem,MobileStation
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic