CACI International interview question

Java: if an object has not implemented. ToString what is the output?

Interview Answer

Anonymous

18 Sept 2025

An object that is not "implemented", doesn't have a class and doesn't exist. The phrase they should have used is instantiated. If an object is not instantiated, then null will be printed.