Statements

Report a typo

Here's a class SomeClass with static and instance fields and methods.

public class SomeClass {

    private static int staticField;
    private int instanceField;

    public static void staticMethod() { /* Do something */ }
    
    public void instanceMethod() { /* Do something */ }
}

Select all correct statements about class members.

Select one or more options from the list
___

Create a free account to access the full topic