Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.sql.SQLOutput;
- public class Students {
- public String name;
- public String family;
- public int number;
- public void information() {
- System.out.println("====================================");
- System.out.println("Name : " + this.name);
- System.out.println("Family : " + this.family);
- System.out.println("Course number : " + this.number);
- System.out.println("-----------------------------------");
- }
- public Students(String name, String family, int number) {
- this.name = name;
- this.family = family;
- this.number = number;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement