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

Thread: how do i solve this programming problem in dr java?

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

    Default how do i solve this programming problem in dr java?

    Reverse a string. Ex. "Dr. Im" -> "mI .rD"

    getReverseString("voldemort") → "tromedlov"
    getReverseString("harrypotter") → "rettopyrrah"
    getReverseString("ron") → "nor"

    public String getReverseString( String str)


  2. #2
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,318
    Thanks
    181
    Thanked 833 Times in 772 Posts
    Blog Entries
    5

    Default Re: how do i solve this programming problem in dr java?


  3. #3
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,139
    Thanks
    65
    Thanked 2,720 Times in 2,670 Posts

    Default Re: how do i solve this programming problem in dr java?

    Is this a question about how to use your IDE
    or is it a generic java programming question?
    If you don't understand my answer, don't ignore it, ask a question.

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

    Default Re: how do i solve this programming problem in dr java?

    I need to know how to do the problem...I have nothing.

  5. #5
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,318
    Thanks
    181
    Thanked 833 Times in 772 Posts
    Blog Entries
    5

    Default Re: how do i solve this programming problem in dr java?

    Break the problem down then. How would you do this by hand - write it out in a stepwise fashion...that's your algorithm. Then figure out how to tackle each step in code.

Similar Threads

  1. [SOLVED] Easy error to solve in a minute. Help please, I don't want to fail Java Programming again.
    By ihatejava in forum What's Wrong With My Code?
    Replies: 6
    Last Post: November 15th, 2012, 04:30 PM
  2. java programming loop problem
    By darking123 in forum What's Wrong With My Code?
    Replies: 3
    Last Post: November 11th, 2012, 05:48 PM
  3. Java Programming Loop Execution Problem
    By Advent in forum What's Wrong With My Code?
    Replies: 2
    Last Post: April 14th, 2012, 04:20 PM
  4. Java applet programming problem
    By danielparry in forum What's Wrong With My Code?
    Replies: 8
    Last Post: March 4th, 2011, 11:31 AM
  5. Java mailer programming code problem
    By shadeslayer88 in forum What's Wrong With My Code?
    Replies: 1
    Last Post: May 1st, 2010, 01:21 AM