Finding Java difficult | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Finding Java difficult

I'm nearly halfway through the Java course and although I manage to answer most the questions fine, I feel like I still have no idea what I'm doing with the language. Anyone else get this with Java or another language? I feel like a lot of terminology and syntax is taken for granted and goes unexplained.

27th Mar 2017, 6:10 AM
Jeremy Hunter
Jeremy Hunter - avatar
15 Answers
+ 19
Sounds like you need practice. Start coding ^^
27th Mar 2017, 6:12 AM
Tashi N
Tashi N - avatar
+ 17
If you really want to know, tell me what lesson and which quiz from it.
27th Mar 2017, 6:21 AM
Tashi N
Tashi N - avatar
+ 17
the answer is ten. basicly method change() take p as variable argument. when it is called it can change attribut p.
27th Mar 2017, 6:48 AM
Agus Mei
Agus Mei - avatar
+ 16
Mistakes help a lot. Just take one step after another. If you got stuck, search on Google or ask here.
27th Mar 2017, 6:17 AM
Tashi N
Tashi N - avatar
+ 16
It may be helpful for you to take a look at some simple codes at the playground, too...
27th Mar 2017, 6:18 AM
Tashi N
Tashi N - avatar
+ 16
Yes, the playground sometimes does this 'no output' thingy :( But if it always does, there may be no output...
27th Mar 2017, 6:19 AM
Tashi N
Tashi N - avatar
+ 16
Ok, I see. Just remember that methods are called by value. See the notice from lesson 1 in the same chapter.
27th Mar 2017, 6:31 AM
Tashi N
Tashi N - avatar
+ 3
not sure that'll help because if I'm not understanding why things are the way they are there are only going to be mistakes. Also the coding examples being taught are incredibly dull.
27th Mar 2017, 6:14 AM
Jeremy Hunter
Jeremy Hunter - avatar
+ 3
I'll do that. cheers
27th Mar 2017, 6:19 AM
Jeremy Hunter
Jeremy Hunter - avatar
+ 2
Also, I /did/ copy the text of one of the questions to test how it output because I couldn't work out the answer, and it came back in the playground as 'no output' over and over.
27th Mar 2017, 6:16 AM
Jeremy Hunter
Jeremy Hunter - avatar
+ 2
if there is no output, how can they expect us to answer it as part of the lesson?
27th Mar 2017, 6:20 AM
Jeremy Hunter
Jeremy Hunter - avatar
+ 2
it was the second question of 'value & reference types' of 'classes & objects'. I got the answer because I kinda guessed, but the previous lesson I feel didn't give enough information to answer it.
27th Mar 2017, 6:25 AM
Jeremy Hunter
Jeremy Hunter - avatar
+ 2
What I think I might do is go on a break, and reset progress on Java and start again. That method worked with C++ when I was struggling. Oh my god I just realised why it's called C++... *slaps forehead*
27th Mar 2017, 6:33 AM
Jeremy Hunter
Jeremy Hunter - avatar
+ 1
So it just overrides the earlier statement and redefines the variable attribute? Simple as that?
27th Mar 2017, 6:52 AM
Jeremy Hunter
Jeremy Hunter - avatar
0
OOOPS code while reading
27th Mar 2017, 8:47 AM
Azim Conrad Wawire
Azim Conrad Wawire - avatar