I can\'t understand how an object is created implicitly.
Example:
String s = \"implicit instantiation\";
Can I make my own class w
Unfortunately you just can not do that!
opposite to C or C++ you can not overload any operator in java language, so there is no possible way to do something like
Foo myFoo = 1
in the case of the string class:
String s = "implicit instantiation"
that is sugar sintax for the developers, behind the scenes is the compiler doing the "dirty" work and doing something like (remember there is a string pool):
String s = new String("implicit instantiation")
The same applies for some other Types like Arrays, or wrapper for numbers...