✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
What is the output of the below Java program?
public class TestingConstructor{
void TestingConstructor()
{
System.out.println("Amsterdam");
}
TestingConstructor()
{
System.out.println("Antarctica");
}
public static void main(String[] args)
{
TestingConstructor tc = new TestingConstructor();
}
}