Search:

Type: Posts; User: Melawe

Search: Search took 0.12 seconds.

  1. Replies
    36
    Views
    5,763

    [SOLVED] Re: Array related assignment

    Thanks guys for all your help!! :D I'm marking this Solved!

    Thanks again!
  2. Replies
    36
    Views
    5,763

    [SOLVED] Re: Array related assignment

    I'm having a little trouble understanding the for loop in the StudentGrader class, can you make it a little clearer please?


    class StudentGrades {
    public static void main(String...
  3. Replies
    36
    Views
    5,763

    [SOLVED] Re: Array related assignment

    I tried a few more times but I just couldn't figure it out, I finally directed my browser to the site today and here is the code

    class StudentGrades {
    public static void main(String...
  4. Replies
    36
    Views
    5,763

    [SOLVED] Re: Array related assignment

    I finally got your code!!! :D

    [code]class JForumtest{
    public static void main(String[] args){
    int twoDim[][] = {
    { 1, 2, 3 },
    { 4, 5, 6 } };
    ...
  5. Replies
    36
    Views
    5,763

    [SOLVED] Re: Array related assignment

    Hiya guys, Thanks for your help! But I can't seem to figure it out, i'm gonna head to the books site and see the code later(if I don't get posts telling me to "wait for a sec!!" :/).
  6. Replies
    36
    Views
    5,763

    [SOLVED] Re: Array related assignment

    Thanks Faz I got it with no errors! One thing though, how can I make a single array element equal to more than one number this wont work


    grd[0] = 60,75,93;

    //or

    grd[0] = {60,75,93};

    and...
  7. Replies
    36
    Views
    5,763

    [SOLVED] Re: Array related assignment

    Could you tell me whats wrong in this



    class NewAry {
    public static void main(String[] args){
    int[] stud = {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15};
    int[]grd= new int[14];...
  8. Replies
    36
    Views
    5,763

    [SOLVED] Re: Array related assignment

    When I tried it out i got this result:

    run:
    [[I@3e25a5


    class JForumtest{
    public static void main(String[] args){
    int twoDim[][] = {
    { 1, 2, 3 },
  9. Replies
    36
    Views
    5,763

    [SOLVED] Re: Array related assignment

    Sorry guys I didn't reply in a while. I'm trying some things out, nothing worked yet but here is what I was doing and what I got. I thought it would be easier to do if I knew how to do it in one dim...
  10. Replies
    36
    Views
    5,763

    [SOLVED] Re: Array related assignment

    Yep thats what it says.
  11. Replies
    36
    Views
    5,763

    [SOLVED] Re: Array related assignment

    Okay thanks everyone!! :D Cloud you guys help me with one more thing please, storing data in one dim and storing some other data in the second dim.

    Thanks!
  12. Replies
    36
    Views
    5,763

    [SOLVED] Re: Array related assignment

    Can you tell me what the I in
    twoDim[i] = new int[4]; stands for?
  13. Replies
    36
    Views
    5,763

    [SOLVED] Re: Array related assignment

    Here is what i got:
    run:
    0

    But I still don't understand what is happening in the for loop.
  14. Replies
    36
    Views
    5,763

    [SOLVED] Re: Array related assignment

    I tried them and here is what I got, I started by the one I understood completely

    My code:

    class Test {
    public static void main(String[] args) {
    int[][] my2dArray = new...
  15. Replies
    36
    Views
    5,763

    [SOLVED] Re: Array related assignment

    I tried but i couldn't do any thing cause I didn't understand the examples.

    _________________________________________
    Tryin and Readin and surely some Gamin!!
  16. Replies
    36
    Views
    5,763

    [SOLVED] Re: Array related assignment

    First sorry i forgot to include this link Programming with Java in 24 Hours: Storing Information with Arrays
    You can see the full code there, its the one called StudentGrader.java.
    And cloud you...
  17. Replies
    36
    Views
    5,763

    [SOLVED] Array related assignment

    Hi guys and girls, nice to post again. Once again I have a problem, :P this time I have to create a.. welll here is what is says

    "Create a program that uses a multidimensional array to...
Results 1 to 17 of 17