employer cover photo
employer logo
employer logo

Excel Software Solutions

Est-ce votre entreprise ?

Question d’entretien chez Excel Software Solutions

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

Réponse à la question d'entretien

Utilisateur anonyme

16 mars 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)