Thread: new to java programming

  1. #1
    Registered User
    Join Date
    Feb 2012
    Posts
    99

    new to java programming

    hi i have decided to teach myself java but i was wondering if anyone knew why some words need capital letters like System.out.print . the 'system' needs to be 'System' or it wont work you know. Also if anyone knows where i could find which words need to have capital letters in them that would be very helpful, yours sincerely, David "the nice guy" .

  2. #2
    Master Apprentice phantomotap's Avatar
    Join Date
    Jan 2008
    Posts
    5,108
    It has to be capital because they said so.

    But, I really just wanted to remind people who Mr. Nice Guy has been.

    Soma

    i dont know what to put for a title here.

  3. #3
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    Thread moved to Tech Board.

    Quote Originally Posted by ingeniousreader
    i was wondering if anyone knew why some words need capital letters like System.out.print . the 'system' needs to be 'System' or it wont work you know.
    Because they were named like that, and the names are case sensitive.

    Quote Originally Posted by ingeniousreader
    if anyone knows where i could find which words need to have capital letters in them that would be very helpful
    There's a method in the madness: check the Java API and get used to its naming conventions.
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  4. #4
    Registered User
    Join Date
    Feb 2012
    Posts
    99
    Quote Originally Posted by laserlight View Post
    Thread moved to Tech Board.


    Because they were named like that, and the names are case sensitive.


    There's a method in the madness: check the Java API and get used to its naming conventions.

    ok thanks very much

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. I just got through programming in some Java
    By wildcard_seven in forum General Discussions
    Replies: 2
    Last Post: 10-19-2011, 05:22 PM
  2. Replies: 20
    Last Post: 10-30-2010, 01:09 AM
  3. OT: Help on Java programming?
    By MiamiLoco in forum General Discussions
    Replies: 4
    Last Post: 07-08-2009, 10:11 AM
  4. Java and C++ for game programming
    By bargomer in forum Game Programming
    Replies: 13
    Last Post: 10-19-2008, 01:17 PM