[ad_1]
You have to instanciate current class, use this code:
public static void main(String[] args)
{
A a = new A();
int value = a.abc();
}
2
[ad_2]
solved How to call a behavioral method from main method in java?
[ad_1]
You have to instanciate current class, use this code:
public static void main(String[] args)
{
A a = new A();
int value = a.abc();
}
2
[ad_2]
solved How to call a behavioral method from main method in java?