Here is a test code segment:
public class mytesterclass
{
public static void main(string[] args)
{
myclass myobject = new myclass (12.4, 20);
int value1 = myclass.some_value;
int value2 = myobject.method1();
int value3 = myclass.method2(20);
}
}
i'm trying to figure out what part of this code is a "class method" and i'm tempted to guess it's it could also be myclass, some_value, or method1 i believe. i'm not the best with coding classifications and would like some .

Solved
Show answers

Ask an AI advisor a question