| 4 | } |
| 5 | |
| 6 | public class Main{ |
| 7 | public static void main(String[] args) { |
| 8 | Student obj1 = new Student(); |
| 9 | obj1.rollNo = 1; |
| 10 | obj1.studentName = "Rohan"; |
| 11 | System.out.println(obj1.rollNo); |
| 12 | System.out.println(obj1.studentName); |
| 13 | |
| 14 | Student obj2 = new Student(); |
| 15 | obj2.rollNo = 2; |
| 16 | obj2.studentName = "Rahul"; |
| 17 | System.out.println(obj2.rollNo); |
| 18 | System.out.println(obj2.studentName); |
| 19 | } |
| 20 | } |
nothing calls this directly
no outgoing calls
no test coverage detected