Thanks.
Type: Posts; User: Pajaro
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.
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;
...
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...
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...
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...
Hi. I too am new. Pleased to meet you.