i started learning java recently and there's on part that confuses me and i need help in.
from what i know to instanciate a java object this is the syntax
String s1 = new String("This is a string");
however the problem is lately ive come across stuff declared like this
NumberFormat numF = NumberFormat.getNumberInstance(locale);
Can someone explain this to me