**MEDAL + FAN** Please check my Java Programming answers. If they're wrong, please help me through them if you can. I'm struggling in this class :(
Additional questions/answers:
I'm a little rusty with Java, but FWIW: 1. c The left side is the data type, in this case an array of ints. a was just one int for the data type. 2. Good 3. c Element number 2 (the third element because of zero indexing) of array x is assigned the value 12. TBH, I don't even know what that set stuff is. 4. I don't know that form of a for statement. 5. d String is an object, not a primitive. Objects need to be created via a new statement: String myString = new String( "Hello World" );
@rsmith6559 4 was D and 5 was A. Oddly, there was no correct answer for #1 (all the answers say 0 pts rather then one labeled 1 pnt), which is weird! But these assignments aren't worth anything. I just needed some help. Thanks! :)
Join our real-time social learning platform and learn together with your friends!