summaryrefslogtreecommitdiff
path: root/src/test/java/dardia/Student.oj
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/java/dardia/Student.oj')
-rw-r--r--src/test/java/dardia/Student.oj19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/test/java/dardia/Student.oj b/src/test/java/dardia/Student.oj
new file mode 100644
index 0000000..2a4e07d
--- /dev/null
+++ b/src/test/java/dardia/Student.oj
@@ -0,0 +1,19 @@
+package dardia;
+
+public class Student instantiates InterImpl {
+ public Double GPA;
+
+ public Double getGPA() {
+ System.out.println("Student's getGPA() invoked!");
+ return GPA;
+ }
+
+ public void setGPA(Double _GPA) {
+ System.out.println("Student's setGPA() invoked!");
+ GPA = _GPA;
+ }
+
+ public String toString() {
+ return "Student's toString (GPA=" + GPA.toString() + ")";
+ }
+} \ No newline at end of file