Jump to content

Objects

- - - - -

  • Please log in to reply
1 reply to this topic

#1
Tonchi

Tonchi

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 471 posts
  • Location:Varaždin
  • Programming Language:C, C++, C#
I have only 2 question about objects. Am I right that object can take any data type but can't represent those data type? Is the converting object to data types the only way to represent value from object?

#2
d347hm4n

d347hm4n

    Newbie

  • Members
  • Pip
  • 8 posts
You can slap anything into an object, but to then in turn use that object as you are intending you need to cast the object into at type that you can use, and expose methods upon.

Regards d3




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users