Java and Back Again

A beginners tale…part 2

Robert M Ricci
Mar 21 · 4 min read
Get it, it’s two cups because it’s part two.
CreateJedi.javapublic class CreateJedi {    int age;
int forceSensitivity;
String name;
public CreateJedi(int age, int forceSensitivity, String name){
this.age = age;
this.forceSensitivity = forceSensitivity;
this.name = name;
}
public static void main(String [] args){

CreateJedi luke = new CreateJedi(18, 9, "Luke");

System.out.println("My name is " + luke.name + " I'm " +
luke.age + " my force sensitivty is " +
luke.forceSensitivity);

}
}
CreateJedi.javapublic class CreateJedi {    int age;
int forceSensitivity;
String name;
CreateJedi.javapublic class CreateJedi {    int age;
int forceSensitivity;
String name;
public CreateJedi(int age, int forceSensitivity, String name){
this.age = age;
this.forceSensitivity = forceSensitivity;
this.name = name;
}
CreateJedi.javapublic class CreateJedi {    int age;
int forceSensitivity;
String name;
public CreateJedi(int age, int forceSensitivity, String name){
this.age = age;
this.forceSensitivity = forceSensitivity;
this.name = name;
}
public static void main(String [] args){

CreateJedi luke = new CreateJedi(18, 9, "Luke");
CreateJedi.javapublic class CreateJedi {    int age;
int forceSensitivity;
String name;
public CreateJedi(int age, int forceSensitivity, String name){
this.age = age;
this.forceSensitivity = forceSensitivity;
this.name = name;
}
public static void main(String [] args){

CreateJedi luke = new CreateJedi(18, 9, "Luke");

System.out.println("My name is " + luke.name + " I'm " +
luke.age + " ,my force sensitivty is " +
luke.forceSensitivity);
}
}
public CreateJedi(int age, int forceSensitivity, String name){
this.age = age;
this.forceSensitivity = forceSensitivity;
this.name = name;
}

CONCLUSION

Geek Culture

Proud to geek out. Follow to join our +1.5M monthly readers.