GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Microsoft  >  Visual Basic
Go To First  |  Previous Question  |  Next Question 
 Visual Basic  |  Question 390 of 453    Print  
Suppose emp is one class that we have to create, and have to add empname, empid as member of this class, what should be the code for that ? how we can calculate the salary for emp ? pl explain steps.

pl comment

  
Total Answers and Comments: 1 Last Update: August 09, 2006     Asked by: pghare 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
August 09, 2006 04:41:33   #1  
anagha        

RE: Suppose emp is one class that we have to create, a...
we have to add empname and other required info as property through property let propertget method and calculate_salary as a public method.
 
Is this answer useful? Yes | No

 Related Questions

Latest Answer : yes ...

Latest Answer : Yes  On Creating RelationShip, You Check the Option OnDeleteCascade. ...


Latest Answer : Dim fso, hfile, msgvalue Set fso = CreateObject("Scripting.FileSystemObject") Set hfile = fso.OpenTextFile("D:x.txt")  If Not hfile.AtEndOfStream Then  Do While Not hfile.AtEndOfStream  msgvalue = hfile.ReadLine  ...

Latest Answer : Yes we can edit the tdata through flexgrid. ...

Latest Answer : Controls which are data-aware. Controls whose datasource property can be set a datacontrol. ...

Latest Answer : please refer my answer for previous question ...


What is meant by Establish Connection in RDO? 74.1s it possible to Access BackEnd procedures? Explain.

Latest Answer : An OLE client application can support the drag-drop feature provided by the SHELL.DLL component of Microsoft Windows version 3.1. The drag-drop feature supports dragging a file from the Windows File Manager and dropping it on any registered drag-drop ...


 Sponsored Links

 
Related Articles

jQuery Table Row Finished Code

jQuery Table Row Finished Code The Finished Code Our second example page has demonstrated table row striping highlighting tooltips collapsing expanding and filtering Taken together the JavaScript code for this page is mosgoogle geshibot lang php" document ready function var highlighted
 

jQuery Interacting with Other Code

jQuery Interacting with Other Code We learned with our sorting and paging code that we can t treat the various features we write as islands The behaviors we build can interact in sometimes surprising ways; for this reason it is worth revisiting our earlier efforts to examine how they coexist with t
 

jQuery Completed sorting and paging code

Learning jQuery The Finished Code The completed sorting and paging code in its entirety follows mosgoogle geshibot lang php" fn alternateRowColors function tbody tr odd this removeClass even addClass odd ; tbody tr even this removeClass odd addClass even ; return this; ; document
 

jQuery - Basic Alphabetical Sorting

Learning jQuery Basic Alphabetical Sorting Now let s perform a sort on the Title column of the table We ll need a class on the table header cell so that we can select it properly geshibot lang html" Title Author s Publish Date Price geshibot mosgoogle To perform the actual s
 

C++ Pure Virtual Function and Base Class

C Pure Virtual Function and Virtual Base Class In this C tutorial you will learn about pure virtual function declaration of pure virtual function and virtual base class virtual base class and how to implement a virtual base class explained with examples mosgoogle center What is Pure Virtual Function
 

Working with XML in Visual Basic

Working with XML in Visual Basic Extensive markup language and Visual Basic is the odd couple of the industry Visual Basic is one of the most common languages that are being used today This Microsoft introduced language was meant to be middle tier in characteristic but has managed to get the top tie
 

How to Access C++ Class Members

How to Access C Class Members In this C tutorial you will learn how to access Class members dot operator or class member access operator difference between struct and class and  scope resolution operator mosgoogle center It is possible to access the class members after a class is defined an
 

Explain about TNSPING

You can also use tnsping utility on command prompt to check Oracle Net connectivity. Follow these steps to check the connection to particular SID. Open Command prompt. Write tnsping < SID for the database connectivity you want to check > If you get the message “Used TNSNAMES
 

SDLC Methodology Steps

Although SDLC has different forms and models, it follows certain steps. These steps could have the same name in one methodology but they are treated in a different manner or could lead to something different. We will take a look at some of the common steps that you will find in most methodologies in
 

SDLC Model Basic Stages

SDLC or the Software Development Life Cycle refers to the steps involved in creating a software from scratch.  During earlier days, software used to be scarce and its creation was comparatively easier.  Developers could create any programs they want and experience no competition. I
 

About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape