Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 4 of 4

Thread: Autoboxing and unboxing for user created objects

  1. #1
    Member
    Join Date
    Mar 2011
    Posts
    114
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Default Autoboxing and unboxing for user created objects

    Hi,

    Can we have autoboxing and unboxing for user created objects?


  2. #2
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,166
    My Mood
    Hungover
    Thanks
    141
    Thanked 597 Times in 512 Posts

    Default Re: Autoboxing and unboxing for user created objects

    Please don't post duplicate threads. I deleted your other post.

    What did google tell you? What happened when you tried? Can you give us an example of what this might look like?
    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  3. #3
    Member
    Join Date
    Mar 2011
    Posts
    114
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Default Re: Autoboxing and unboxing for user created objects

    I didn't get any answer from Google. Thats y have posted the qn in forum.
    User created objects can be anything i.e. instance of any class. So is it possible to apply autoboxing and unboxing on these objs is my qn.

  4. #4
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,166
    My Mood
    Hungover
    Thanks
    141
    Thanked 597 Times in 512 Posts

    Default Re: Autoboxing and unboxing for user created objects

    Quote Originally Posted by tcstcs View Post
    I didn't get any answer from Google. Thats y have posted the qn in forum.
    User created objects can be anything i.e. instance of any class. So is it possible to apply autoboxing and unboxing on these objs is my qn.
    Posting in the forums is fine. But you originally posted the question twice, which hinders your chances of getting help. I deleted the duplicate post.

    But did you answer my questions? What would this look like? What are you actually trying to achieve?
    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

Similar Threads

  1. User creates objects. How to?
    By Sputnik in forum Object Oriented Programming
    Replies: 5
    Last Post: December 2nd, 2010, 10:18 AM
  2. How can I Autoboxing?
    By Melawe in forum Java Theory & Questions
    Replies: 14
    Last Post: July 29th, 2010, 07:47 PM
  3. creating a controller to allow instances to be created from keyboard
    By ss7 in forum File I/O & Other I/O Streams
    Replies: 4
    Last Post: November 2nd, 2009, 12:30 PM
  4. [SOLVED] Program to read from created file
    By aznprdgy in forum File I/O & Other I/O Streams
    Replies: 3
    Last Post: April 7th, 2009, 03:51 AM

Tags for this Thread