I’m learning Java and as I know only abstract classes and interfaces cannot be instantiated. However documentation of java.lang.System says that it cannot be instantiated which is neither abstract nor an interface.
I haven’t got any explanation of it. Can somebody please explain this ?
Moreover Can somebody create such classes ?
It’s simple: It have no public Constructor.
You can do that yourself: