c/ public class StudentRecord { private String name; : public double getAverage(){ double result = 0; result=(mathGrade+englis hGrade+scienceGrade)/ 3; return result; } public class StudentRecord { private String name; : public String getName(){ return name; } Public  method dapat dipanggil oleh object di luar class String  return type dari method harus me-return value dengan tipe String getName  nama method ()  method tidak memiliki parameter
{"Image DocumentName": "c/ public class StudentRecord { public class StudentRecord {", "Image ImageDescription": "private String name; : public String getName(){ return name; } Public\uf0e0method dapat dipanggil oleh object di luar class. String\uf0e0return type dari method harus me-return value dengan tipe String. getName\uf0e0nama method. ()\uf0e0method tidak memiliki parameter. public class StudentRecord { private String name; : public double getAverage(){ double result = 0; result=(mathGrade+englishGrade+scienceGrade)/3; return result; }", "Image XResolution": "37", "Image YResolution": "37", "Image ResolutionUnit": "Pixels/Centimeter", "Image Software": "SlidePlayer", "Image YCbCrPositioning": "Centered"}