public class SoftwareDeveloper {
String name;
String role;
public SoftwareDeveloper(String name, String role) {
this.name = name;
this.role = role;
}
public void sayHi() {
System.out.printf("Hi There! My name is %s and I am a %s", this.name, this.role);
}
public static void main(String[] args) {
SoftwareDeveloper softwareDeveloper = new SoftwareDeveloper("Vikas Adiwal", "Software Developer");
softwareDeveloper.sayHi();
}
}
Popular repositories Loading
-
DB-Explain-Visualizer
DB-Explain-Visualizer PublicVisualize the query plan of mongoDB using this tool!
-
-
-
-
-
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.