Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What are the similarities between class and structure?

Answers were Sorted based on User's Feedback



What are the similarities between class and structure?..

Answer / chhatrala

-> 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 ?    20 Yes 9 No

What are the similarities between class and structure?..

Answer / satyambabu

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 ?    8 Yes 4 No

What are the similarities between class and structure?..

Answer / shilpa


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 ?    5 Yes 1 No

What are the similarities between class and structure?..

Answer / sanjivani

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 ?    2 Yes 2 No

What are the similarities between class and structure?..

Answer / cha

yes

Is This Answer Correct ?    0 Yes 11 No

Post New Answer

More VB.NET Interview Questions

Explain some of the exclusive features which are present in vb?

0 Answers  


Define clr?

0 Answers  


What is the difference b/w Readonly Variable and Constant Variable?

7 Answers   Ksb, Sonata,


What is the difference between import system.data.sqlclient and system.data.oledb?

0 Answers  


Difference between a sub and a function?

2 Answers  


Name the class which allows an element to be accessed using unique key?

0 Answers  


How do you script this scenario in QTP using VB? Verify XML attributes in XML message against XSD and data mapping of fields to Oracle tables? Verify data in XML to data in a defined table?

0 Answers   Perot Systems,


Explain about jagged arrarys ?

0 Answers  


What is a literal control?

0 Answers  


What is intermediate langauge?

0 Answers  


give me code for selecting itemcode and correspondin vendor details wll displays in the gridview?

1 Answers  


how to restore database using vb.net?

4 Answers   Eclat, PCS, Pepon, Restor, TCS,


Categories