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 10 of 10

Thread: List<forumMember> guys = new ArrayList<forumMember>("Hey Fellow Programmer!);

  1. #1
    Junior Member
    Join Date
    Nov 2013
    Posts
    4
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Default List<forumMember> guys = new ArrayList<forumMember>("Hey Fellow Programmer!);

    I'm an English teacher.
    I'm a masseur.
    I'm a hobby programmer.
    Sometimes when I'm fed up with the chaos in people, I do some programming. That's how it started.
    After a while I always get back to people, but a little break helps.
    I produced some practical results as well, for example my KeySequences project, which I use most of the time in place of the Start Menu (actually the Unity HUD). It enables me to start apps with a few keys, without any mouse or touchpad usage.

    --- Update ---

    And there's a syntactical error in the title, but I won't change it...


  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,165
    Thanks
    65
    Thanked 2,725 Times in 2,675 Posts

    Default Re: List<forumMember> guys = new ArrayList<forumMember>("Hey Fellow Programmer!);

    Welcome. Does this mean we will have to watch our spelling and sentence constructions now?
    If you don't understand my answer, don't ignore it, ask a question.

  3. The Following User Says Thank You to Norm For This Useful Post:

    jps (November 13th, 2013)

  4. #3
    Junior Member
    Join Date
    Nov 2013
    Posts
    4
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Default Re: List<forumMember> guys = new ArrayList<forumMember>("Hey Fellow Programmer!);

    No, it's not about grammar, it's a java syntax error: the missing closing quotation mark.

  5. The Following User Says Thank You to bartok.gyorgy For This Useful Post:

    jps (November 13th, 2013)

  6. #4
    Forum VIP
    Join Date
    Jul 2010
    Posts
    1,676
    Thanks
    25
    Thanked 329 Times in 305 Posts

    Default Re: List<forumMember> guys = new ArrayList<forumMember>("Hey Fellow Programmer!);

    That, and I don't think ArrayList has a constructor which accepts a String, lol.
    NOTE TO NEW PEOPLE LOOKING FOR HELP ON FORUM:

    When asking for help, please follow these guidelines to receive better and more prompt help:
    1. Put your code in Java Tags. To do this, put [highlight=java] before your code and [/highlight] after your code.
    2. Give full details of errors and provide us with as much information about the situation as possible.
    3. Give us an example of what the output should look like when done correctly.

    Join the Airline Management Simulation Game to manage your own airline against other users in a virtual recreation of the United States Airline Industry. For more details, visit: http://airlinegame.orgfree.com/

  7. The Following User Says Thank You to aussiemcgr For This Useful Post:

    jps (November 13th, 2013)

  8. #5
    Junior Member
    Join Date
    Nov 2013
    Posts
    4
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Default Re: List<forumMember> guys = new ArrayList<forumMember>("Hey Fellow Programmer!);

    Yeah. I should have written new MemberList<forumMember>("Hey Fellow Programmer!"); and claimed that MemberList is an extension of ArrayList and MemberList DOES have a constructor that accepts a String.

  9. The Following User Says Thank You to bartok.gyorgy For This Useful Post:

    aussiemcgr (November 13th, 2013)

  10. #6
    Super Moderator jps's Avatar
    Join Date
    Jul 2012
    Posts
    2,642
    My Mood
    Daring
    Thanks
    90
    Thanked 263 Times in 232 Posts

    Default Re: List<forumMember> guys = new ArrayList<forumMember>("Hey Fellow Programmer!);

    lol @ funny thread

  11. #7
    Member Kewish's Avatar
    Join Date
    Apr 2013
    Location
    Australia
    Posts
    116
    Thanks
    10
    Thanked 17 Times in 14 Posts

    Default Re: List<forumMember> guys = new ArrayList<forumMember>("Hey Fellow Programmer!);

    If we are getting picky, forumMember would be a class and thus should start with a capital -> ForumMember. Jokes aside, it is good to have you here, you see like a nice addition to JPF. Welcome.

    It would be great to see a screenshot of your KeySequences project, it sounds interesting.

  12. #8
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    5,517
    My Mood
    Mellow
    Thanks
    215
    Thanked 698 Times in 680 Posts

    Default Re: List<forumMember> guys = new ArrayList<forumMember>("Hey Fellow Programmer!);

    Welcome!

  13. #9
    Junior Member
    Join Date
    Nov 2013
    Posts
    4
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Default Re: List<forumMember> guys = new ArrayList<forumMember>("Hey Fellow Programmer!);

    Quote Originally Posted by Kewish View Post
    It would be great to see a screenshot of your KeySequences project, it sounds interesting.
    I will make a thread about it, not just with screenshots but with the code as well, as soon as I port it from python.

  14. #10
    Member Kewish's Avatar
    Join Date
    Apr 2013
    Location
    Australia
    Posts
    116
    Thanks
    10
    Thanked 17 Times in 14 Posts

    Default

    Wonderful. I hope I spot the thread.

Similar Threads

  1. How would you add a list of "events" and "tasks" to their respective arrays?
    By LIboy1027 in forum What's Wrong With My Code?
    Replies: 1
    Last Post: June 19th, 2013, 06:32 AM
  2. Hey guys I need some help
    By kenamine in forum What's Wrong With My Code?
    Replies: 2
    Last Post: October 25th, 2012, 10:10 PM
  3. Hey guys:)))
    By mimka15 in forum Member Introductions
    Replies: 0
    Last Post: April 26th, 2012, 01:27 PM
  4. Hey guys! :D
    By goingforcoffee in forum Member Introductions
    Replies: 0
    Last Post: April 4th, 2012, 11:01 AM