Search:

Type: Posts; User: GregBrannon

Search: Search took 0.47 seconds.

  1. Thread: Array

    by GregBrannon
    Replies
    12
    Views
    1,147

    [SOLVED] Re: Array

    Excellent!

    This is what we've been trying to explain to you: the method matrizAsignaturas() is never called, and it's responsible for populating the array matrizAsignaturas[] with values other...
  2. Thread: Array

    by GregBrannon
    Replies
    12
    Views
    1,147

    [SOLVED] Re: Array

    Please post your code in code tags.

    We need to see the driving or testing program - the one with the main() method - to see and explain the errors you're seeing. An alternative would be for you...
  3. Thread: Array

    by GregBrannon
    Replies
    12
    Views
    1,147

    [SOLVED] Re: Array

    I like your answer too. One IS 1D and the other 2D, but it's also added complexity for the same storage capacity and no benefit that I can see. I suggest avoiding unnecessary complexity whenever...
  4. Thread: Array

    by GregBrannon
    Replies
    12
    Views
    1,147

    [SOLVED] Re: Array

    @Syed,

    Excellent answer, but my question wasn't clear. In DECLARING an array, what's the difference between:

    String[][] colArray = new String[4][1];

    and

    String[] rowArray = new...
  5. Thread: Array

    by GregBrannon
    Replies
    12
    Views
    1,147

    [SOLVED] Re: Array

    What's the difference between String[4][1] and String[4]?

    To Syed's point: Is the method matrizAsignaturas() ever called? That is how the matrix is initialized, replacing the null values with the...
Results 1 to 5 of 5