Navigation

    ask avan logo
    • Register
    • Login
    • Search
    • Categories
    • Unsolved
    • Solved
    1. Home
    2. Categories
    3. Coding Question & Answers
    4. Java
    Log in to post
    • Newest to Oldest
    • Oldest to Newest
    • Most Posts
    • Most Votes

    Java

    • Ayush gwari

      SOLVED Getting array out of bound exception in given problem
      • Ayush gwari  

      3
      3
      Posts
      10
      Views

      avan

      Hey @Ayush-gwari

      Did that work for you? If so, do you mind marking my answer as the correct one. Thank you.

    • Lpokimo

      SOLVED Java Game engine Problem
      • Lpokimo  

      10
      10
      Posts
      38
      Views

      avan

      @Lpokimo said in Java Game engine Problem:

      input = new Input(null); (This

      In your version you have

      input = new Input(null);

      in original version it is correct

      input = new Input(this);

      Line 26 in GameContainer.java file

    • Johnnier Caicedo

      UNSOLVED JPanel not sizing correctly?
      • Johnnier Caicedo  

      1
      1
      Posts
      6
      Views

      No one has replied

    • I

      UNSOLVED Automating google maps
      • Igor  

      2
      2
      Posts
      14
      Views

      avan

      Hey Igor,

      What is the error message?

    • S

      SOLVED Clarification Needed on Short Java Code Snippet
      • Syed_AlamM  

      2
      2
      Posts
      24
      Views

      avan

      @Syed_AlamM
      It looks like indexOF saves the index of the last occurrence of whatever number you are looking for in an array. In this case it is '45'. So indexOF will always be set to the index of the last occurrence of '45'. So if the array is [3,45,67,74,45] indexOF will be 4 since the last 45 element is at index 4.

      Hope this makes sense.

    • A

      This topic is deleted!
      • AndroindBuilder  

      1
      1
      Posts
      4
      Views

      No one has replied

    • A

      This topic is deleted!
      • abhihaptech  

      1
      1
      Posts
      5
      Views

      No one has replied