This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Bir ara bakabilecen mi buna. | |
/* | |
Simdi multithreading olayını yaptım gibi ama kodun test kısmında hata aldım ve nedense eclipse'den ne hatası olduğunu da göremedim aşağıda kod var düzeltmen gereken yerleri comment ederim sen oralara bir bak. | |
*/ | |
import java.util.Random; | |
public class Car extends Thread { | |
private Random rand; //I am going to use it in determining the speed of car. |