How to access Class Objects under common name


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: How to access Class Objects under common name

  1. #1
    Join Date
    Dec 2004
    Posts
    1

    Unhappy How to access Class Objects under common name

    Hello members,

    I am facing a problem where i need to refer to set of objects using common name. Offcourse this is to be done in java. Let me make the situation more clear.

    There are certain set of objects that need to be accessed using a single name in programm.
    These objects are for example MCHAR, TCHAR, BCHAR, UCHAR & KFIG

    I hope this could not be solved with the inheritence or interface technology because all the above mentioned obects does exists and are not just "concepts or properties" . I mean to say they have attributes (variables) as well as methods.
    And all these actually have abstract notion of IOBJ, the name with which i need to access them.

    Please reply at the earliest.
    Thanking in anticipation.

    regards

  2. #2
    Join Date
    Nov 2004
    Location
    Minnesota
    Posts
    99
    I don't get it. What do you mean by this:

    I hope this could not be solved with the inheritence or interface technology because all the above mentioned obects does exists and are not just "concepts or properties" . I mean to say they have attributes (variables) as well as methods.
    What do you mean by 'accessed using a single name'...do they all have the same methods? And accessed how?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center