what should i do to define a string object??
Printable View
what should i do to define a string object??
You cannot define a string object like that. There is no such constructor for String class.
Don't use reserved words(or key words, actually compiler not allowed to use keywords) for class names. It can cause lots of problems.
Where you define 'a' 'b' and 'c'. What are those variable holds.