What is the difference between Dim nCount as Integer vs Dim
nCount% and when would you use each?

Answers were Sorted based on User's Feedback



What is the difference between Dim nCount as Integer vs Dim nCount% and when would you use each?..

Answer / suresh

No difference as per my knowledge.

Is This Answer Correct ?    0 Yes 0 No

What is the difference between Dim nCount as Integer vs Dim nCount% and when would you use each?..

Answer / parmanand

Nops there is a difference my friend!

Is This Answer Correct ?    0 Yes 0 No

What is the difference between Dim nCount as Integer vs Dim nCount% and when would you use each?..

Answer / parmanand

Your answer is wrong "Priti Wankhede" .... % is one way to declare variables in VB there you need not to tell the type. % it self tells the type is integer :)

Is This Answer Correct ?    1 Yes 1 No

What is the difference between Dim nCount as Integer vs Dim nCount% and when would you use each?..

Answer / saravanapandian.p

% is anoter way to declare variables in VB there is no need
to tell the type. % it self tells the type is varient

Is This Answer Correct ?    0 Yes 0 No

What is the difference between Dim nCount as Integer vs Dim nCount% and when would you use each?..

Answer / priti wankhede

First variable datatype is Integer and Second variable
datatype is variant, because by default daya type in VB is
Variant, there is a difference.

Is This Answer Correct ?    0 Yes 1 No

What is the difference between Dim nCount as Integer vs Dim nCount% and when would you use each?..

Answer / srikanth

% is anoter way to declare variables in VB there is no need
to tell the type. % it self tells the type is integer

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More Visual Basic Interview Questions

Types of Modal windows in VB.

1 Answers  


Is it possible to Access BackEnd procedures?

0 Answers  


what is the Difference between listbox and combo box?

5 Answers   TCS,


How can you Navigate from the DHTML application to another DHTML application? .

0 Answers  


what are the three main differences between flexgrid control and dbgrid(Data bound Grid) control

1 Answers  






Q1. A. Discuss the various types of variables. B. How to control the file? Q2. A. How the image application? B. Write short notes on trees structures work. Q3. A. How to load and unload child forms. B. When should we use recursive programming Q4. A. Write short notes on "The ole control's shortcut menu" B. How to test the AX stat class Q5. A. How to use advanced data-bound controls. B. Write notes on manipulating the recordset object Q6. A. What is script control? B. How to down load image properties. C. What is meant by building a recordset.

1 Answers   Infotech,


To validate a range of values for a property whenever the property values changes,which type of property procedure you use?

0 Answers  


Is there any Edit method in ADO Data Access method?

0 Answers  


How can Visual Basic be used for server-side scripting?

0 Answers  


How to check the condition in Msgbox?

3 Answers  


What is the Dll required for running the VB?

1 Answers  


Explain about form creation in Visual Basic?

0 Answers  


Categories