Search:

Type: Posts; User: ZenithX

Search: Search took 0.14 seconds.

  1. Replies
    4
    Views
    6,636

    Re: Need help with this practice java question

    Thanks William! i figured it out!
    it makes more sense now.
  2. Replies
    4
    Views
    6,636

    Re: Need help with this practice java question

    So from what i understand, there is a problem in the bolded area? return input.substring(input.indexOf("\n"),input.indexOf(input.substring(input.indexOf("\n")-1)));

    Also, how do i check if the...
  3. Replies
    4
    Views
    6,636

    Need help with this practice java question

    Hello guys,

    Im having some problem with this question

    Write a method, getSecondLine, that is passed a String argument and that returns the second line, without its newline character. (Recall...
Results 1 to 3 of 3