Forum: Offtopic Java programmier Problem


von Stefan (Gast)


Lesenswert?

Hallo,

Habe ein kleines Problem mit der Javaprogrammierung

bekomme beim Compielierne folgenden Fehler:

CAN.java:16: cannot find symbol
symbol  : class CONTROL
location: class CAN
  CONTROL           control;
  ^
CAN.java:20: cannot find symbol
symbol  : class CONTROL
location: class CAN
  public CAN(CONTROL control)
             ^
2 errors

Hier der Code:

public class CAN extends Thread
{
  // global variables
  CanBus            bus;
  CanFrame          frame;
  CONTROL           control;
  volatile boolean  active;

  // constructor for can class
  public CAN(CONTROL control)
  {
    // get parent class
    this.control = control;
  }

  // start the can service
  public void startService()
  {
    System.out.println("CAN starting...");

    // create canbus and canframe
    try

Kann mir jemand weiterhelfen?


Vielen Dank
Stefan

von Sven Johannes (Gast)


Lesenswert?

Moin...

Woher kommt der Typ "CONTORL"?
Selbigen findet der Compiler nicht.
--
 SJ

Bitte melde dich an um einen Beitrag zu schreiben. Anmeldung ist kostenlos und dauert nur eine Minute.
Bestehender Account
Schon ein Account bei Google/GoogleMail? Keine Anmeldung erforderlich!
Mit Google-Account einloggen
Noch kein Account? Hier anmelden.