Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Driver class
- public class Registration {
- public static void main( String[] args) {
- Student s1 = new Student("Sim", 3.7F);
- Student s2 = new Student("Hazman" , 3.6F);
- System.out.println(s1);
- System.out.println(s2);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement