This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes VisualMobileSystem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Bookmark "VisualMobileSystem" Watch "VisualMobileSystem" New topic
Author

VisualMobileSystem

micheal frost
Greenhorn

Joined: Aug 24, 2005
Posts: 5
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

Joined: Aug 16, 2005
Posts: 29
you have to import the class MobileSystem,MobileStation
 
GeeCON Prague 2014
 
subject: VisualMobileSystem