ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  Visual Basic
 
 


 

 
 Visual Basic interview questions  Visual Basic Interview Questions
 C Sharp interview questions  C Sharp Interview Questions
 ASP.NET interview questions  ASP.NET Interview Questions
 VB.NET interview questions  VB.NET Interview Questions
 COM+ interview questions  COM+ Interview Questions
 ADO.NET interview questions  ADO.NET Interview Questions
 IIS interview questions  IIS Interview Questions
 MTS interview questions  MTS Interview Questions
 Crystal Reports interview questions  Crystal Reports Interview Questions
 BizTalk interview questions  BizTalk Interview Questions
 Dot Net interview questions  Dot Net Interview Questions
 Exchange Server interview questions  Exchange Server Interview Questions
 Microsoft Related AllOther interview questions  Microsoft Related AllOther Interview Questions
Question
Can Redim be used to declare a new array ?
 Question Submitted By :: Sumitha
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Can Redim be used to declare a new array ?
Answer
# 1
yes Redim can be used to declare a new array.
 
Is This Answer Correct ?    1 Yes 8 No
Mirza Arif Nadeem
 
  Re: Can Redim be used to declare a new array ?
Answer
# 2
No We can't use redim to declare a new array. Redim is used 
to resize the declared array
 
Is This Answer Correct ?    12 Yes 1 No
M.chitramala
 
 
 
  Re: Can Redim be used to declare a new array ?
Answer
# 3
M. chitramala is right. Redim is to resize the exiting 
array variable.

sample:
Dim myarray() as string

Redim myarray(10)
 
Is This Answer Correct ?    7 Yes 0 No
Padma
 
  Re: Can Redim be used to declare a new array ?
Answer
# 4
Redim is used to increase the dimension/size of the array.  
Preserve keyword is used to hold the previous value of the 
array.

ex:  Redim Preserve a[20]
 
Is This Answer Correct ?    3 Yes 0 No
Pradeepa V
 
  Re: Can Redim be used to declare a new array ?
Answer
# 5
redim can only be used to increase/decrease the size of the 
existing array.it cannot be used to create a new array.

srinivas  shetty
 
Is This Answer Correct ?    1 Yes 0 No
Shetty
 
  Re: Can Redim be used to declare a new array ?
Answer
# 6
yes friends its right redim is used to resize the decalred
array realier in the program
 
Is This Answer Correct ?    1 Yes 0 No
Prasad
 
  Re: Can Redim be used to declare a new array ?
Answer
# 7
if I redim an array and increase its size. will the 
existing elements in the array be lost?
 
Is This Answer Correct ?    0 Yes 0 No
Sb
 
  Re: Can Redim be used to declare a new array ?
Answer
# 8
Yes, Using Redim statement the size is set at runtime.
 
Is This Answer Correct ?    2 Yes 0 No
Kumari Santosh
 

 
 
 
Other Visual Basic Interview Questions
 
  Question Asked @ Answers
 
Write the correct order of execution of following form?s events: initialization, Load, Activate, Refresh , Paint  2
What is the purpose of the AutoRedraw property on a form or container?  2
Why is it not good to use a variant data type?  2
What is the use of Imagelist Controls  1
How to get free file location in memory?  1
How would you declare and raise custom events in a class?  1
What is the need of zorder method?  1
How do you clear the current selected item from a drop down combo box?  1
Which datatypes in Visual Basic are capable of accepting Nulls?  1
How to register a component?  1
What is the difference between queryunload and unload in form?  1
what you know about databases? Satyam2
what is the Code for DSN Less Connection?  1
what is the front end you used? Satyam2
Difference between Linked Object and Embedded Object?  1
what is the Default property of datacontrol ?  1
Explain Get, Let, Set Properties?  3
What is the difference between modal and modaless form in VB?  1
what are the Differences between ActiveX Exe and Dll?  2
What areTypes of compatability in VB and their usage ? MBT4
 
For more Visual Basic Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com