GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Tech FAQs  >  Programming  >  VB.NET
Go To First  |  Previous Question  |  Next Question 
 VB.NET  |  Question 14 of 317    Print  
What’s the difference between a class field property?
A) A field always has Get and Set Methods
B) A property always has Get and Set Methods
C) None of the above
Explanation: These methods are internally used set and retrieve values of a property.



  
Total Answers and Comments: 1 Last Update: May 25, 2006   
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
May 25, 2006 07:46:32   #1  
saravan_btech Member Since: April 2006   Contribution: 6    

RE: What’s the difference between a class field proper...
ans cnone of the above
 
Is this answer useful? Yes | No

 Related Questions

A) A field always has Get and Set MethodsB) A property always has Get and Set MethodsC) None of the aboveExplanation: These methods are internally used set and retrieve values of a property. 
Latest Answer : ans cnone of the above ...

A) Create a method and name it with the same name as class nameB) Create a method and which is named as NewC) Create a method and which is named as Initialize 
Latest Answer : A) Create a method and name it with the same name as class name ...

A) ProcessB) ApplicationC) ExeD) Execute 
Latest Answer : Process ...

A) EncapsulationB) Main functionC) Abstract Class/FunctionsD) Using Implementation 
Latest Answer : C) By using Abstract Classes/Functions ...

A) User ControlB) Custom ControlC) ControlD) Activex Control 
Latest Answer : the base class control for all built in controls is the control ...

What is the output of the following code in Test classClass Myclass Dim Num as Integer Private Sub New (i as integer) Num=i End subEnd class Class Test Sub Main() Dim c as MyclassC=New Myclass (10)End subEnd Class
A) Num variable of Myclass is initialized to 10B) Run Time ErrorC) Compiler ErrorD) StackOverflow ExceptionExplanation: Constructor is declared as Private hence Compile error 

What is the output of the messagebox function in following codeClass Test Dim A, B, C as Byte, Sub Main() A=200 B=100 C=A+B Console.WriteLine ( C )End subEnd Class
A) Prints 300 as the outputB) Prints “C”C) Compiler ErrorD) RunTime ErrorExplanation: Over flow exception as the sum of 2 bytes is always long 

What is the output of the following codeClass _Myclass Public Shared Num as integer Public Sub New (I as integer) {num=i} End sub Public sub New() End sub End Class Class Test Dim Cls1 as _Myclass (100 ) Dim Cls2 as New _MyclassConsole.Writeline (Cls2.num)End Class
A) Prints 0B) Prints 100C) Prints NullExplanation: prints 100 because num is shared variable 

What is the out put of the following codeMustInherit class MyFirstclassPublic Dim Num as IntegerPublic Sub New( I as integer) Num=iEnd SubEnd ClassClass Test Dim cls as New MyFirstclass( 100) Console.writeLine (cls.Num)End Class
A) Can not Create an Instance of MyfirstClassB) MyFirstclass is created and 100 is assigned to Num variableC) Runtime Error 

What is the out put NotInheritable Class A Public sub printA End sub Public sub PrintB End subEnd ClassClass B Inherits A End Class
A) Both PrintA & PrintB are available at Class BB) Only PrintA is available at Class BC) Class B Can not inherit classA as it is not inheritable 


 Sponsored Links

 
Related Articles

Concepts of Object-Oriented Programming

Object Oriented JavaScript In this chapter you ll learn about OOP Object Oriented Programming and how it relates to JavaScript As an ASP NET developer you probably have some experience working with objects and you may even be familiar with concepts such as inheritance However unless you re already a
 

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
 

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
 

What is difference between call by value and call by reference in function?

The arguments passed to function can be of two types 1. Values passed 2. Address passed The first type refers to call by value and the second type refers to call by reference. For instance consider program1 main() { int x=50, y=70; interchange(x,y); printf(“x=%d y=%d”,x,
 

SQL Programming

SQL Programming Overview Anybody who has done something for a long time has probably wanted to change how things work at some point or another. A worker at a mill might have found a more efficient way of cutting logs, or a mathematics teacher might have had a hand in changing a school’s al
 

WinRunner Programming Concepts

If you want to create WinRunner scripts that are highly efficient, there are important programming concepts that you will want to become familiar with. Understanding these concepts will provide you with a large number of key benefits. In addition to understanding these concepts, you must also learn
 

Programming Languages Certification

IT Certification programs have several options that will offer you the best knowledge.  By learning everything that you need to know about information technology you will be able to open new doors to your career and personal business desires.  IT Certification offers several vari
 

Neuro-linguistic Programming Methods

Neuro linguistic Programming Methods There are several methods used for performing Neuro linguistic Programming on an individual for obtaining insights into the psyche of the person in order to correct to modify certain patterns of behavior These techniques are also used for Neuro linguistic trainin
 

UML Elements : Class Diagram

UML Elements UML 2 0 is comprised of a total of 13 diagrams If you wish to understand these diagrams they should be organized based on a hierarchy For UML a diagram is an element which must define which things should be modeled in a system mosgoogle center Introduction to Class Diagram In this arti
 

The Difficult Past of Neuro-linguistic programming

The Difficult Past of Neuro linguistic programming Neuro linguistic programming has had a rocky past with a number of lawsuits rivalry unsystematic development and intermittent progress During the 1980s the two founders separated after the lawsuit filed by Bandler Bandler went on to file several law
 





About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape