Viewing topic: Constructors

See sub-topics for Constructors ... >> Computer Science >> Programming >> Constructors

Highest Rated Sign

Video id: #110 (enlarge)
Post date: 5/22/2009
Posted by: rajah
  • Currently 5.0/5 Stars.
  2 ratings
See all signs (3)


  • Definition: A method that creates and initializes an object. Objects in Java programs must be constructed before they can be used.

    Source: Reges & Stepp, 2007

  • Example: Example sentence for context: "Calling a constructor is like sending an order to the factory asking it to follow the blueprint to get you an actual object that you can manipulate."

    Other highly-rated signs for "Constructors" (more...)

    • Currently 2.5/5 Stars.
    • Currently 1.0/5 Stars.
  • 9:46am 5/14/2015

    User: reinlessjacklin

    Post count: 368

    Good way of describing, and good paragraph to obtain information regarding my presentation topic, which I am going to convey in academy. Best Swimming Goggles

  • 6:14pm 5/27/2009

    User: millam

    Post count: 6

    Re: video #107: 'Constructor' in C and Java is a bit of a misnomer. The Constructor and Deconstructor methods are closer to 'initialize' and 'ondestroy'. An actual Constructor does the work of allocating the instance, then calling the instance's initializing method. In Ruby, and a few other languages, you can override the constructor, which is what creates an object, then calls its initializing methods. Those are "Constructor" as used in 107 with the person/agent sign. ( is an instance method on class Foo that is effectively: "ret = this.allocate()