Search:

Type: Posts; User: Pajaro

Search: Search took 0.20 seconds.

  1. Re: static variable accessible in object b, not in object a?

    Thanks.
  2. Re: static variable accessible in object b, not in object a?

    So why is the second a.x = 2? where did 2 come from?
    If I edit out the second b.x assignment, a.x = 1 which is correct. If I leave it unedited, a.x = 2 which is incorrect - it should = 1.
  3. static variable accessible in object b, not in object a?

    Here's simple class that has two instance variables, one static int and one just int. Why am I getting this output?

    Code:

    public class IdentifyMyParts {
    public static int x = 7;
    ...
  4. Replies
    4
    Views
    1,152

    unexpected results to simple program

    I got this off af a tutorials page. For some reason one of the values is wrong or unexpected.

    public class IdentifyMyParts {
    public static int x = 7;
    public int y = 3;


    public...
  5. Thread: Java jobs

    by Pajaro
    Replies
    1
    Views
    1,538

    Re: Java jobs

    Hi Beth. I just joined the forums and saw your post. I have a two year programming degree and know several programming languages but am not expertise in any. Also, I would only have 20 - 30 hours...
  6. Replies
    2
    Views
    2,090

    Re: Small project for my own experience...

    That sounds like good advice Shaun. I have the same intentions as Pad, where I want to get in shape and stay in shape so that I could at some point apply for a job programming. Most job postings...
  7. Thread: Hi

    by Pajaro
    Replies
    2
    Views
    874

    Re: Hi

    Hi. I too am new. Pleased to meet you.
Results 1 to 7 of 7