Pregunta de entrevista de Excel Software Solutions

void get(String s){ syso(s); } void get(Object o){ syso(o); } psvm(String[] args) { get(null); }

Respuesta de la entrevista

Anónimo

16 mar 2017

it will throw an exception that non-static method cannot be referenced as static.. if we correct the code it will call get(String s)