class MyString
{
public static void main(NAME_1[] args)
{
NAME_1 a = new NAME_1("Abc");
NAME_1 b = "ABC" + "dec";
// Abc
System.out.println(a);
// ABCdec
System.out.println(b);
// ABC
System.out.println(a.toUpperCase());
// abcdec
System.out.println(b.toLowerCase());

}
}
Convert into c++