/* package whatever; // don't place package name! */
import java.util.*;
import java.lang.*;
import java.io.*;
import java.util.HashMap;
import java.util.Map;
/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
{
Map
<String, String
> occupations
= new HashMap
<String, String
>();
occupations.
put("FRONTEND",
new String("programador front-end")); occupations.
put("BACKEND",
new String("programador back-end")); occupations.
put("MOBILE",
new String("programador mobile")); occupations.
put("GENERIC",
new String("programador"));
String profession
= occupations.
get("MOBILE"); String mailContent
= String.
format("Assim que tivermos oportunidade para %s, entraremos em contato.", profession
); System.
out.
println(mailContent
);
}
}
LyogcGFja2FnZSB3aGF0ZXZlcjsgLy8gZG9uJ3QgcGxhY2UgcGFja2FnZSBuYW1lISAqLwoKaW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CmltcG9ydCBqYXZhLnV0aWwuSGFzaE1hcDsKaW1wb3J0IGphdmEudXRpbC5NYXA7CgovKiBOYW1lIG9mIHRoZSBjbGFzcyBoYXMgdG8gYmUgIk1haW4iIG9ubHkgaWYgdGhlIGNsYXNzIGlzIHB1YmxpYy4gKi8KY2xhc3MgSWRlb25lCnsKCXB1YmxpYyBzdGF0aWMgdm9pZCBtYWluIChTdHJpbmdbXSBhcmdzKSB0aHJvd3MgamF2YS5sYW5nLkV4Y2VwdGlvbgoJewoJCQoJCU1hcDxTdHJpbmcsIFN0cmluZz4gb2NjdXBhdGlvbnMgPSBuZXcgSGFzaE1hcDxTdHJpbmcsIFN0cmluZz4oKTsKCQkKCQlvY2N1cGF0aW9ucy5wdXQoIkZST05URU5EIiwgbmV3IFN0cmluZygicHJvZ3JhbWFkb3IgZnJvbnQtZW5kIikpOwoJICAgIG9jY3VwYXRpb25zLnB1dCgiQkFDS0VORCIsIG5ldyBTdHJpbmcoInByb2dyYW1hZG9yIGJhY2stZW5kIikpOwoJICAgIG9jY3VwYXRpb25zLnB1dCgiTU9CSUxFIiwgbmV3IFN0cmluZygicHJvZ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