Advertisement
Guest User

Untitled

a guest
Dec 7th, 2019
424
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. Create a Java class definition to represent a student. The student should have at least the following attributes:
  2. Student Id
  3. First Name
  4. Last Name
  5. Gender
  6. Date of birth
  7. GPA
  8. Make sure to use appropriate data types for the attributes.
  9. The student's attributes should be accessible to subclasses, but not accessible to direct assignment. Provide getters and setters for all attributes. Also provide a no-argument constructor.
  10. You may use Eclipse (or other Java editor) to create the class definition, then copy and paste the text here.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement