Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Driver {
- public static void main(String[] args) {
- //Person p1 = new Person("Naqi", "011234");
- //System.out.println(p1.toString());
- Student s1 = new Student("Sidiq", "099832", "B109893");
- System.out.println(s1.toString());
- Student s2 = new Student();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement