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.


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: please help me

  1. #1
    Junior Member
    Join Date
    Nov 2011
    Thanked 0 Times in 0 Posts

    Smile please help me

    hi am eman and am 20 years ald
    i start study java from september in college but i have many problems
    i need examples using netbeans about :
    1] next() method
    2] nextLine() method
    3] double abs(double d)
    float abs(float f)
    int abs(int i)
    long abs(long lng)


  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Eastern Florida
    Thanked 2,428 Times in 2,379 Posts

    Default Re: please help me

    You should use Search on the forum for code samples for each of those statements.

    One thing you need to know is what class each of those methods is in. There can be several different classes with those methods. You can look up which class a method is in by going to the API doc page:
    Java Platform SE 6
    and clicking on the Index link at the top of the righthand section. Then click on the link for the first letter of the name of the method. Then search on that page for the method.