TurkuBasicOOPinJava / Week 6: Methods of OO Programming

Commit History

@Override public void add(int number) {this.result += number;}
fe7addf
verified

KaiquanMah commited on

void add(int number); double getResult();
ad62cc6
verified

KaiquanMah commited on

interface INTERFACE1 {dtype method1();}
3b7dc42
verified

KaiquanMah commited on

this.attribute1 >= Class2.PUBLICSTATICATTRIBUTE2
9f2f0be
verified

KaiquanMah commited on

public static String FINLAND = "FI";
a3fe381
verified

KaiquanMah commited on

public static dtype STATICVARIABLEINCAPS = <value>;
f6f3443
verified

KaiquanMah commited on

if (staticMethod2(param1)) {...}
e8ecd2c
verified

KaiquanMah commited on

public static int method1(dtype param1)
3ec1443
verified

KaiquanMah commited on

public static dtype method1(param1) {...}
3d70db8
verified

KaiquanMah commited on