Content Obsolete

This content is no longer current. Our recommendation for up to date content:

More about Classes and Methods - 15

Download this episode

Download Video

Download captions

Download Captions


In this lesson we dig into more details about Classes -- what exactly happens when you create a new instance of a class? What exactly is a reference to an instance of a class? How is it affected when you pass the reference to a method? We also review overloaded methods, talk about static versus instance methods, constructors and more.

Download the source code for More about Classes and Methods



Available formats for this video:

Actual format may change based on video formats available and browser capability.

    The Discussion

    • User profile image

      I have tried this lesson and all went well until designing the second "New" method (with the byVal after the "New(...)"... I went back to the module window and typed Dim myOtherCar as New Car... but no drop down box came up to show me that there is more than one thing I can do...when I typed the

      Dim myOtherCar As New Car( ...the intellisense does not show me more than one pops up "New()"...and I'm dead in the water...Am I doing something wrong...or is my visual Basic Express set up wrong?  Thanks

    • User profile image

      @JPSkyPilot:Got it...had something wrong in the second "New" method...sorry

    Comments closed

    Comments have been closed since this content was published more than 30 days ago, but if you'd like to send us feedback you can Contact Us.