NobleBlocks
Public

Constructor

Published in Apress eBooks • Jan 1, 2013
Authors:
Mikael Olsson

Abstract

In addition to fields and methods, a class can contain a constructor. This is a special kind of method used to construct, or instantiate, the object. It always has the same name as the class and does not have a return type. To be accessible from another class the constructor needs to be declared in ...

Finding related papers...

Discussions

(0)

No comments yet

Be the first to share your thoughts!