Frage im Vorstellungsgespräch bei Cognizant

Java : Why main method is static? How do you write custom exception?

Antwort im Vorstellungsgespräch

Anonym

8. Okt. 2016

Object is not required to create a static method. We can extend the java exception class to create our own exception