Results 1 to 4 of 4

Thread: String class

  1. #1
    rahilgada is offline Member
    Join Date
    Feb 2014
    Posts
    6
    Rep Power
    0

    Default String class

    Hi all,, i need a help can some 1 help me out the qts is
    write a program in java to accept two string input from the user if they are equal then den print
    *****
    ****
    ***
    **
    *
    else print the table of 5 ie 5,10 15,20 25,...... so on..
    plz help me..
    Thank you

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,306
    Rep Power
    25

    Default Re: String class

    What have you tried?
    Please ask some specific questions about any problems you are having.
    If you don't understand my response, don't ignore it, ask a question.

  3. #3
    rahilgada is offline Member
    Join Date
    Feb 2014
    Posts
    6
    Rep Power
    0

    Default Re: String class

    how do i wrte the above program??

  4. #4
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    3,728
    Rep Power
    5

    Default Re: String class

    That's not a problem, that's a lack of knowledge. You write the above program the same way you build a car : you learn how to do it. And that's something YOU have to do, its not something you can magically skip out on by posting in a forum

    Step one: Get a good book on Java
    step two: start reading
    step three: after five minutes, keep reading
    step four: once you realize you've learned something, experiment with it
    step five: continue reading
    step six: sleep
    step seven: go back to step two
    etc.
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

Similar Threads

  1. Replies: 2
    Last Post: 09-16-2013, 04:19 PM
  2. Help with passing String[] from GUI class to GUI class
    By X75TIGER75X in forum New To Java
    Replies: 9
    Last Post: 05-01-2012, 06:55 PM
  3. Replies: 3
    Last Post: 04-27-2012, 02:41 PM
  4. Replies: 0
    Last Post: 03-27-2011, 05:49 AM
  5. My own string class
    By viperlasson in forum New To Java
    Replies: 8
    Last Post: 01-25-2010, 05:55 PM

Posting Permissions

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