This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

VisualMobileSystem

 
micheal frost
Greenhorn
Posts: 5
  • 0
  • 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
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you have to import the class MobileSystem,MobileStation
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic