Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #25.0K
I have a homework assignment that's due in a couple of days and I need a set of experienced Java eyes to confirm that a few of the answers to the questions below are correct. The hard part about these questions (for me anyways as a newbie Java person) is … |
|
I'm new to Java and can't seem to understand why this code doesn't work. Any input would be appreciated. Thx. [code]Public class MyClass int a; float b = 1.5; public void static main(String args) { MyClass mc = MyClass(); mc.a = 1.5; system.out.println(b); }[/code] |