-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCar.java
More file actions
92 lines (75 loc) · 1.35 KB
/
Car.java
File metadata and controls
92 lines (75 loc) · 1.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
import java.util.*;
class car
{
public static void main(String[]args)
{
Scanner in=new Scanner(System.in);
for(int i=0;i<4;i++)
{
car[] s=new car[4];
int carID=in.nextInt();in.nextLine();
String carName=in.nextLine();
String carBrand=in.nextLine();
String Quality=in.nextLine();
}
String inputName=in.nextLine();
String inputBrand=in.nextLine();
EmployeeNameInAscendingOrder();
GetIDNumber();
}
public static void EmployeeNameInAscendingOrder()
{
System.out.println("Hellow World");
}
public static void GetIDNumber()
{
System.out.println("1234");
}
}
/*
class automobile
{
int carID;
String carName;
String carBrand;
String Quality;
*/
/*
public automobile(int carID , String carName , String carBrand , String Quality)
this.carID=carID;
this.carName=carName;
this.carBrand=carBrand;
this.Quality=Quality; */
/*
public int getCarID(){
return carID;
}
public void setCarID(int CarID)
{
this.CarID=CarID;
}
public String getCarName()
{
return carName;
}
public void setCarName(String carName)
{
this.carName=carName;
}
public String getCarBrand()
{
return carBrand;
}
public void setCarBrand(String carBrand)
{
this.carBrand=carBrand;
}
public String getQuality()
{
return carQuality;
}
public void setQuality(String Quality)
{
this.carQuality=carQuality;
}
} */