' Visual Basic 2008 9.0 .NET Examples - Inheritance - Object Oriented Programming : Module Client1 Sub Main() Dim person1 As Person = New Person person1.Name = "John" Console.WriteLine(person1.Name) ' Dim student1 As Student = New Student student1.Name = "Jane" Console.WriteLine(student1.Name) student1.ClassGroup = "Group 1" Console.WriteLine(student1.ClassGroup) ' Console.ReadLine() End Sub End Module ' Visit www.studyvb.com for more examples. Copyright 2003-2008 De Wolf.