But sometime it also works without the class name for example System.out.println(add(2,4));
Why please somebody explain.
7/2/2019 7:42:19 AM
you'll need the class name if the method are called from another class.
but if its called from the same class, its fine to not to include the class name.
GET THE FREE APP
Learn Playing. Play Learning
Send us a message