Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
KaiquanMah
/
TurkuBasicOOPinJava
like
0
Running
App
Files
Files
Community
3b7dc42
TurkuBasicOOPinJava
/
Week 6: Methods of OO Programming
21.9 kB
1 contributor
History:
7 commits
KaiquanMah
interface INTERFACE1 {dtype method1();}
3b7dc42
verified
4 months ago
01A. Static members [= CLASS MEMBER, not object member]
Safe
5.13 kB
public static dtype method1(param1) {...}
4 months ago
01B. Class StringHelper
Safe
2.15 kB
public static int method1(dtype param1)
4 months ago
02. Class SecretAgent
Safe
4.39 kB
if (staticMethod2(param1)) {...}
4 months ago
03A. Class variables = STATIC VARIABLES
Safe
2.21 kB
public static dtype STATICVARIABLEINCAPS = <value>;
4 months ago
03B. Nordic countries as class variables
Safe
728 Bytes
public static String FINLAND = "FI";
4 months ago
04. Fish within permitted limits
Safe
2.41 kB
this.attribute1 >= Class2.PUBLICSTATICATTRIBUTE2
4 months ago
05A. Interfaces+++
Safe
4.87 kB
interface INTERFACE1 {dtype method1();}
4 months ago