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

What is the latest version of visual basic?

0 Answers  


Different types of Passing Value?

1 Answers  


How would you map properties to controls by using ActiveX Control Interface Wizard?

0 Answers  


How to declare Dll Procedure?

1 Answers  


what is the Difference between listbox and combo box?

5 Answers   TCS,






what is different between edit and update?

5 Answers   Wipro,


what is a property to resize a label control according to your caption?

2 Answers  


What are the types of Instancing property that can be set for a Class in a ActiveX DLL and ActiveX EXE?

1 Answers  


How do I call a DLL?

0 Answers  


It is possible to access Text (x.txt) files? Explain.

0 Answers  


How do I make a text box not beep but do something else when I hit the Enter key?

0 Answers  


___ VB constant make the menu item in centre.

0 Answers  


Categories