Results 1 to 2 of 2
  1. #1
    DMarsh12 is offline Member
    Join Date
    Mar 2011
    Rep Power

    Default Java concept help

    How do you pass an objects reference variable to a method? Can anyone explain this concept to me, perhaps with an example? Is it through the use of the new operator...? I don't quite understand how to do it. Thanks in advance!

  2. #2
    KevinWorkman's Avatar
    KevinWorkman is offline Crazy Cat Lady
    Join Date
    Oct 2010
    Washington, DC
    Rep Power

    Default Re: Java concept help

    Did you read the basic tutorials? Did you do any google searches? What exactly about what you read didn't you understand? Did you try creating any example programs?

    Recommended reading: Passing Information to a Method or a Constructor (The Java™ Tutorials > Learning the Java Language > Classes and Objects)
    How to Ask Questions the Smart Way
    Static Void Games - GameDev tutorials, free Java and JavaScript hosting!
    Static Void Games forum - Come say hello!

Similar Threads

  1. mailing concept in java
    By sniffer139 in forum Networking
    Replies: 1
    Last Post: 02-22-2010, 10:34 AM
  2. Thread concept
    By javahelp00 in forum Threads and Synchronization
    Replies: 2
    Last Post: 03-01-2009, 05:15 PM
  3. Map concept in JAVA
    By Mathan in forum New To Java
    Replies: 19
    Last Post: 06-27-2008, 06:02 AM
  4. Which concept used in java for monitoring the printer
    By kalinga2k4 in forum Networking
    Replies: 1
    Last Post: 06-14-2008, 01:25 AM
  5. easy way to study the java springs concept
    By kumar84 in forum New To Java
    Replies: 1
    Last Post: 07-17-2007, 03:53 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts