Search:

Type: Posts; User: SkynetSystems

Search: Search took 0.40 seconds.

  1. Re: Difference with static and non static variables

    Let's say we have a php variable. You create a reference like so:


    $var = 0;
    $new = &$var;


    Here I set $new to point to the same memory as $var so if I make any changes to $new, it also...
  2. Re: Difference with static and non static variables

    Zaphod thank you so much for breaking that down into simple terms for me. I understand the difference a lot better than before. Obviously I'm sure there is more to learn but I just needed to grasp...
  3. Difference with static and non static variables

    Hello, I am very new to Java and was going through the Oracle tutorial. I got to the variables page and have got stuck on understanding the difference between static and non-static variables.

    I...
  4. Replies
    7
    Views
    2,010

    Re: Where do I create my array?

    Ah brilliant, I can't believe I didn't spot that mistake. :O

    Ok, so i'm going to take your advice and create a new class. Will have to look up arrayList also, thank you for the guidance.
  5. Replies
    7
    Views
    2,010

    Re: Where do I create my array?

    C:\mywork>javac HospitalOne.java
    HospitalOne.java:19: error: ']' expected
    public String[][] patName[100][10];
    ^
    HospitalOne.java:19: error: illegal...
  6. Replies
    7
    Views
    2,010

    Re: Where do I create my array?

    There are 36 errors in the HospitalOne class which would have taken me around an hour to type in so I printscreened them, all of the following 'hidden' errors match the array errors.

    738
  7. Replies
    36
    Views
    8,073

    Re: Non computer related hobbies

    Don't mind a nice round of golf on a nice day. Mind you, living on the coast makes it even more difficult than it already is, compensating for the darned wind!
  8. Replies
    13
    Views
    1,915

    Re: Road Trip

    LOL! Indeed this is true, the outcome would be most disasterous :P
  9. Replies
    7
    Views
    2,010

    Where do I create my array?

    Hi, I am trying to make a simple program which is meant to resemble a hospital patient database.

    My aim is that when the user types in a patients name, I want it to type a couple of messages using...
Results 1 to 9 of 10