/* package whatever; // don't place package name! */
import java.util.*;
import java.lang.*;
import java.io.*;
class Person {
int age;
public Person
(int age,
String name
) { this.age = age;
this.name = name;
}
@Override
return "My name is " + this.name + " and my age is " + this.age;
}
}
/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
public static void main
(String[] args
) {
Person person = new Person(25, "John");
}
}
LyogcGFja2FnZSB3aGF0ZXZlcjsgLy8gZG9uJ3QgcGxhY2UgcGFja2FnZSBuYW1lISAqLwogCmltcG9ydCBqYXZhLnV0aWwuKjsKaW1wb3J0IGphdmEubGFuZy4qOwppbXBvcnQgamF2YS5pby4qOwogCmNsYXNzIFBlcnNvbiB7CiAKICAgIFN0cmluZyBuYW1lOwogICAgaW50IGFnZTsKIAogICAgcHVibGljIFBlcnNvbiAoaW50IGFnZSwgU3RyaW5nIG5hbWUpIHsKICAgICAgICB0aGlzLmFnZSA9IGFnZTsKICAgICAgICB0aGlzLm5hbWUgPSBuYW1lOwogICAgfQogICAgCiAgICBAT3ZlcnJpZGUKICAgIHB1YmxpYyBTdHJpbmcgdG9TdHJpbmcoKSB7CiAgICAgICAgcmV0dXJuICJNeSBuYW1lIGlzICIgKyB0aGlzLm5hbWUgKyAiIGFuZCBteSBhZ2UgaXMgIiArIHRoaXMuYWdlOwogICAgfQp9CiAKLyogTmFtZSBvZiB0aGUgY2xhc3MgaGFzIHRvIGJlICJNYWluIiBvbmx5IGlmIHRoZSBjbGFzcyBpcyBwdWJsaWMuICovCmNsYXNzIElkZW9uZQp7CglwdWJsaWMgc3RhdGljIHZvaWQgbWFpbiAoU3RyaW5nW10gYXJncykKCXsKCQlQZXJzb24gcGVyc29uID0gbmV3IFBlcnNvbigyNSwgIkpvaG4iKTsKCQlTeXN0ZW0ub3V0LnByaW50bG4ocGVyc29uKTsKCX0KfQo=