Geeks Talk

Prepare for your Next Interview


Welcome to the Geeks Talk forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

How do you Implement Class Library Object

This is a discussion on How do you Implement Class Library Object within the VB.NET forums, part of the Software Development category; Classical Object Oriented Concepts explain a class as a cookie cutter. A class allows you to create objects of the class. As a programmer you define a class with data ...

Go Back   Geeks Talk > Software Development > VB.NET
Register Blogs FAQ Tag Cloud Calendar Mark Forums Read

VB.NET Visualbasic.NET

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-28-2006
Junior Member
 
Join Date: Oct 2005
Posts: 12
Thanks: 0
Thanked 8 Times in 4 Posts
GeekAdmin is on a distinguished road
How do you Implement Class Library Object

Classical Object Oriented Concepts explain a class as a cookie cutter. A class allows you to create objects of the class. As a programmer you define a class with data fields, properties, methods and events. Then you can create objects based on that class that have state (fields, properties) and behavior (methods, events). A class can be considered as a specification of how the object of the class should look like and behave.
<!--MosGoogleAd (c) Dr Corbeille Sierre, Montana, Valais ... dépannage PC, désinfection Virus, création Web Mambo -->
<script language="javascript"> <!-- google_ad_client = "pub-6339437362895764"; google_ad_width = 336; google_ad_height = 280; google_ad_format = "336x280_as"; google_ad_channel = ""; google_ad_type = "text_image"; google_color_border = "FFFFFF"; google_color_bg = "FFFFFF"; google_color_link = "0033CC"; google_color_url = "0000FF"; google_color_text = "330000"; //--> </script> <script language="javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> <!-- end of google ads -->

An object of the class is nothing other than a sequence of bytes at a specific memory location in the memory heap. Thus we can understand that an object is an instance of the class. We can see an illustration of a class.
Let's see an illustration of a class


Code:
Public Class Class1  
Private VehicleType As String
  Private VehicleModel As String
  Private VehicleColor As String
  Public Sub Accelerate()
  ' add code to Accelerate
  End Sub
  ReadOnly Property engineCapacity() As Decimal
  Get
  Return engineCapacity
  End Get
  End Property
  End Class
Reply With Quote
Sponsored Links
Reply

  Geeks Talk > Software Development > VB.NET

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
difference between QTP and WinRunner georgeprakash WinRunner 18 11-10-2008 01:43 AM
Latest Interview Questions Added on May 21, 2006 admin Site News & Announcements 0 05-22-2006 08:42 AM
MessageBox class In VB.NET 2005 GeekAdmin VB.NET 0 05-21-2006 10:17 AM
Explain about .NET Framework Class Library GeekAdmin VB.NET 0 05-17-2006 11:47 PM


All times are GMT -4. The time now is 03:52 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2009 GeekInterview.com. All Rights Reserved