abstract class NumberFormat - very confuse about getInstance()
- by Alex
Hi,
I'm new to Java and I have a beginner question:
NumberFormat is an abstract class and so I assume I can't make an instance of it. But there is a public static (factory?) method getInstance() that allow me to do
NumberFormat nf = NumberFormat.getInstance();
I'm quite confuse. I'll be glad if someone could give me hints on:
1) If there is…