Ask your own question, for FREE!
Computer Science 8 Online
OpenStudy (anonymous):

**MEDAL + FAN** Please check my Java Programming answers. If they're wrong, please help me figure out the answer (if you can/have the time). I want to learn how do these on my own.

OpenStudy (anonymous):

@woodrow73

OpenStudy (anonymous):

@Lyrae Help please :( I'm on my last stretch of assignments and I really need to pass this class.

OpenStudy (e.mccormick):

From: https://docs.oracle.com/javase/tutorial/java/javaOO/classvars.html When a number of objects are created from the same class blueprint, they each have their own distinct copies of instance variables. In the case of the Bicycle class, the instance variables are cadence, gear, and speed. Each Bicycle object has its own values for these variables, stored in different memory locations. Sometimes, you want to have variables that are common to all objects. This is accomplished with the static modifier. Fields that have the static modifier in their declaration are called static fields or class variables. They are associated with the class, rather than with any object. Every instance of the class shares a class variable, which is in one fixed location in memory. Any object can change the value of a class variable, but class variables can also be manipulated without creating an instance of the class.

OpenStudy (e.mccormick):

That has to do with #1...

OpenStudy (anonymous):

Thanks @e.mccormick ! I'll start going through docs.oracle right now.

OpenStudy (e.mccormick):

Yah, with a little google on things like "java variable access modifier" you get results like: http://www.tutorialspoint.com/java/java_access_modifiers.htm That shows where the issue with 2 is.

OpenStudy (e.mccormick):

Heck... that helps with 3 and 4 too...

OpenStudy (lyrae):

1-5, 7 and 10 need some review.

OpenStudy (lyrae):

Start by reading the material provided by @e.mccormick.

OpenStudy (anonymous):

Yeahhh I'm currently going through docs.oracle.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!