Skip to content

Commit

Permalink
object created for new class Student
Browse files Browse the repository at this point in the history
  • Loading branch information
mdyasinahmed committed Jul 9, 2023
1 parent eb486d8 commit 6cc4257
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
Binary file modified src/OOPS/OOPS.class
Binary file not shown.
6 changes: 4 additions & 2 deletions src/OOPS/OOPS.java
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,10 @@ public static void main(String args[]){
pen2.printColor();




Student s1 = new Student();
s1.name = "Yasin";
s1.age = 20;
s1.printInfo();
}
}

Expand Down
Binary file added src/OOPS/Student.class
Binary file not shown.

0 comments on commit 6cc4257

Please sign in to comment.