Is that possible to initialize object directly as we can do with String class in java:
such as:
String str=\"something...\";
I wan
There are two types of Constructors in java.
You should create a parameterized constructor to create your object.