We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0175b96 commit 086d8d2Copy full SHA for 086d8d2
1 file changed
src/CarMain.java
@@ -0,0 +1,9 @@
1
+public class CarMain {
2
+ public static void main(String[] args) {
3
+ Car porsche=new Car();
4
+ Car Holden=new Car();
5
+ porsche.setModels("carrera");
6
+ System.out.println("Model is: "+porsche.getModels());
7
+ }
8
+
9
+}
0 commit comments