Results 1 to 2 of 2
  1. #1
    chiefnd is offline Member
    Join Date
    Apr 2013
    Posts
    2
    Rep Power
    0

    Default understanding parameters

    Hi

    Could anyone assist with understanding of this code:

    public void checkAnimals(Animal [ ] animals) {
    for(Animal a : animals) {
    a.checkup();
    }
    }

    What is the meaning of this code: public void checkAnimals(animal [ ] animals) , especial parameters,and
    how are they gonna be used? Am new to java

    Thanks in advance

  2. #2
    PhHein's Avatar
    PhHein is offline Senior Member
    Join Date
    Apr 2009
    Location
    Germany
    Posts
    1,430
    Rep Power
    7

Similar Threads

  1. Not Understanding: NoClassDefFoundError
    By Humphrey Bogart in forum New To Java
    Replies: 3
    Last Post: 11-12-2012, 07:22 PM
  2. Replies: 10
    Last Post: 01-24-2012, 11:02 PM
  3. understanding class
    By mitra in forum New To Java
    Replies: 10
    Last Post: 07-26-2011, 03:24 PM
  4. Need some understanding and help!
    By Kevinius in forum New To Java
    Replies: 8
    Last Post: 05-14-2011, 06:50 AM
  5. Replies: 5
    Last Post: 11-21-2010, 03:08 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
  •