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  >>  VB.NET
 
 


 

 
 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
 SharePoint interview questions  SharePoint Interview Questions
 Microsoft Related AllOther interview questions  Microsoft Related AllOther Interview Questions
Question
What are the similarities between class and structure?
 Question Submitted By :: Chhatrala
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What are the similarities between class and structure?
Answer
# 1
-> Both can have constructors, methods, properties , fields,
constants , enumerations, events and event handlers.

-> Structure and class can implement inteface.

-> Both of them can have constructor without parameter and
with parameter.

-> Both can have delegates and events.
 
Is This Answer Correct ?    5 Yes 2 No
Chhatrala
 
  Re: What are the similarities between class and structure?
Answer
# 2
class is a collection of methods functions and properties 
enumerators and fields.

structure can be defined as a tool for handling a group of 
logically related data item.

the main difference is class is a referance type.
structure is a reference value type.
 
Is This Answer Correct ?    4 Yes 1 No
Satyambabu
 
 
 
  Re: What are the similarities between class and structure?
Answer
# 3
 Question  What are the similarities between class and 
structure?
 Rank  Answer Posted By   
 Question Submitted By :: Chhatrala 
This Interview Question Asked @   Ksb  
I also faced this Question!!    ? ALL Interview .com  
Answer  -> Both can have constructors, methods, 
properties , fields,
constants , enumerations, events and event handlers.

-> Structure and class can implement inteface.

-> Both of them can have constructor with parameter.

-> Both can have delegates and events.
 
 
Is This Answer Correct ?    2 Yes 0 No
Shilpa
 
  Re: What are the similarities between class and structure?
Answer
# 4
yes
 
Is This Answer Correct ?    0 Yes 4 No
Cha
 
  Re: What are the similarities between class and structure?
Answer
# 5
Both are same except the followings
class is ref type and structure is val type 
class objects get stored on heap and structure objects get
stored on stack... 
and structure should only have parameter less constructors
 
Is This Answer Correct ?    1 Yes 0 No
Sanjivani
 

 
 
 
Other VB.NET Interview Questions
 
  Question Asked @ Answers
 
What is versioning in .NET?  2
what are Fixed memory leaks and threads locking problems.  1
What is the Difference between Overriding and overloading?  11
linex will support dot net? Phoenix-Technologies4
What is the Difference between CLR & CTS?  2
Regarding Types of compatability in VB and their usage ? Satyam1
how to connect crystal report with vb.net ? Patni6
What is the difference between Abstract Classes and Interfaces? Give the answer as a table format....  5
How do you rate yourself in .NET ? Infosys3
What is the Difference between Dataset and Datareader?  4
concept of object oriented programming Patni5
what do you mean by .Net Framework Guru-Tech11
if user enters 1 or 2 or any other number in digit format in next textbox it should show the answer in word reading like if enters 12 answer should be twelve  4
What is an indexed property?  1
what is the dif b/w panel and groupbox. Ksb3
I want to sample Hotel management project in vb.net because still now i am doing that project for small hotel....so please send me my email id is jmuthu_pearls@yahoo.com...  2
how to call a list box on the text if some one send me the code for it  1
in my windows application i have to show excelwork sheetwhich is stored in the local system can any one tell me the code?  1
What is VB.Net? Ksb3
Where would you use Abstract class and Interface?  2
 
For more VB.NET 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