VB.NET 1.1 Tutorial - The Class KeywordThe Class keyword is used to declare the name of a Class. Public Class myClass ' ... End Class myClass must be unique. The default access modifier of a Class is Friend but can be changed. A Class always finishes with the End keyword. A class is an abstract representation for some particular type of object. It can be described as a template or blueprint for an object, as opposed to the actual object itself. Thus, objects are an instance of a class - they come into existence at some specific time, persist for some duration, and then disappear when they are no longer needed. Classes are the abstract descriptions used by the system to create objects when called upon to do so. ReferencesFor more information on the Class Statement, visit MSDN at microsoft here. What Next?Take a look at Inheritance for more details on classes. Return to the Tutorial Contents. |