New course! Every coder should learn Generative AI!
Try a free lesson0
Constructor java
Is this correct (good practice etc.): Vechicle() { System.out.print("What color? "); this.color = scanner.nextLine; } instead of using arguments?
0 Answers
Is this correct (good practice etc.): Vechicle() { System.out.print("What color? "); this.color = scanner.nextLine; } instead of using arguments?