Results 1 to 3 of 3
  1. #1
    ianmallet is offline Member
    Join Date
    Nov 2013
    Rep Power

    Post A little help needed from you please!

    Java Code:
    public void setPpl(String[] nofppl){
    		for(int i=0;i<nofPpl;i++){
    public static void main(String[] args){

    I have two classes, and I'm trying to take user input via an array in the tester class using a constructor and as you a see I'm kind of a little confused! Is there some way where I can take user input as String array in a loop! Any help appreciated

  2. #2
    jim829 is offline Senior Member
    Join Date
    Jan 2013
    Northern Virginia, United States
    Rep Power

    Default Re: A little help needed from you please!

    You haven't really provided enough explanation on what you want. And you are not using a constructor in your example and your object in main is calling an unknown method (based on the code shown).

    The JavaTM Tutorials | SSCCE | Java Naming Conventions
    Poor planning on your part does not constitute an emergency on my part

  3. #3
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Rep Power

    Default Re: A little help needed from you please!

    Moved to New To Java from a staff only section.
    Please do not ask for code as refusal often offends.

    ** This space for rent **

Similar Threads

  1. Replies: 0
    Last Post: 02-05-2013, 01:17 PM
  2. help needed
    By radhi16 in forum New To Java
    Replies: 2
    Last Post: 01-27-2011, 04:44 PM
  3. Help Needed^^
    By hitech83 in forum New To Java
    Replies: 5
    Last Post: 01-24-2011, 09:08 PM
  4. Help needed
    By radhi16 in forum New To Java
    Replies: 4
    Last Post: 01-20-2011, 01:09 AM
  5. help needed!!! :S
    By mark-mlt in forum Networking
    Replies: 1
    Last Post: 04-14-2008, 09:27 AM

Tags for this Thread

Posting Permissions

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