void get(String s){ syso(s); } void get(Object o){ syso(o); } psvm(String[] args) { get(null); }
Anonymous
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)
Check out your Company Bowl for anonymous work chats.