✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
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();
}
}