Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

Spaces:
KaiquanMah
/
TurkuBasicOOPinJava
Running

App Files Files Community
TurkuBasicOOPinJava / Week 6: Methods of OO Programming
23.2 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 8 commits
KaiquanMah's picture
KaiquanMah
void add(int number); double getResult();
ad62cc6 verified 10 months ago
  • 01A. Static members [= CLASS MEMBER, not object member]
    5.13 kB
    public static dtype method1(param1) {...} 10 months ago
  • 01B. Class StringHelper
    2.15 kB
    public static int method1(dtype param1) 10 months ago
  • 02. Class SecretAgent
    4.39 kB
    if (staticMethod2(param1)) {...} 10 months ago
  • 03A. Class variables = STATIC VARIABLES
    2.21 kB
    public static dtype STATICVARIABLEINCAPS = <value>; 10 months ago
  • 03B. Nordic countries as class variables
    728 Bytes
    public static String FINLAND = "FI"; 10 months ago
  • 04. Fish within permitted limits
    2.41 kB
    this.attribute1 >= Class2.PUBLICSTATICATTRIBUTE2 10 months ago
  • 05A. Interfaces+++
    4.87 kB
    interface INTERFACE1 {dtype method1();} 10 months ago
  • 05B. Write an interface class Calculator
    1.31 kB
    void add(int number); double getResult(); 10 months ago