Комментарии:
//*******************************************
public class Main {
public static void main(String[] args) {
Car myCar1 = new Car();
Car myCar2 = new Car();
System.out.println(myCar1.make);
System.out.println(myCar1.model);
myCar1.drive();
myCar1.brake();
}
}
//*******************************************
public class Car {
String make = "Chevrolet";
String model = "Corvette";
int year = 2020;
String color = "blue";
double price = 50000.00;
void drive() {
System.out.println("You drive the car");
}
void brake() {
System.out.println("You step on the brakes");
}
}
//*******************************************
your good at codes bro. hands up.
ОтветитьThis is gud stuff
ОтветитьJeez I was trying to wrap my head around this for awhile and you explained it so well! Thanks bro
ОтветитьYour best
Ответитьthank you so much! been watching ur sql and css series. Now onto java and python for interview revision. You don't know how much you've helped me <3
Ответитьthank u
ОтветитьI mean!! Where have you been my whole 2 month semester!! Thaaank you!! This really clearify everything!
ОтветитьBroooooo🎉
Ответитьeasy. thank you :)
ОтветитьThanks for the video, bro!
ОтветитьYou are awesome
Love from fiji
Your videos are more useful than udemy courses. Thanks
Ответитьthanks, a real good stuff!
ОтветитьYou surpassed my tutor 😊
Ответитьclear
ОтветитьYour tutorials are truly helpful for me in becoming a successful software engineer. Thank you for providing such valuable resources!
ОтветитьThanks you !!
Java OOP has been challenging to me a lot this week. I am more than thankful when I see your channel and the content of this video. Thanks
thx for the video bro!
Ответитьgg bang, mantappp
Ответитьwhat does void do?
Ответить