Client Code (code outside the class that uses an object of the class)
... double gpa = s.getGPA(); ...
gettingcalculated value example