Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 10 additions & 9 deletions src/main/java/org/example/introtooops/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@

public class Main {
public static void main(String[] args) {
Student obj1 = new Student(); // Object of Student class is created.
obj1.name = "Vishnu";
obj1.age = 25;
obj1.batchName = "Morning batch";
obj1.gender = "Male";

Student obj2 = new Student();

System.out.println("Hello");
// Student obj1 = new Student(); // Object of Student class is created.
// obj1.name = "Vishnu";
// obj1.age = 25;
// obj1.batchName = "Morning batch";
// obj1.gender = "Male";
//
// Student obj2 = new Student();
//
// System.out.println("Hello");
System.out.println("Added something for git testing");
}
}