mardi 9 août 2016

Calling a constructor without mentioning the class name

What happens if we do below:-

c1 = new Car();

Here Car is a class and Car() is obviously a constructor.

Aucun commentaire:

Enregistrer un commentaire