Skip to content

Opening book details…

About this document

Java Prime Checker and Student Class Example by Robert khan is a document available to read on EtoBox.

The document contains code to create classes Person and Student, with Student extending Person. It defines methods and variables like count, average, and displayDetails() for the Student class. The main method creates Student objects, calculates their average marks, displays details of the student with highest average, and calls getCount() to output the total number of Student objects created.

Author
Robert khan
Language
EN