you're way off the track now. let me get you back to the right track of our argument.
cup and bucket? that's OOP.....
let me give you few more.... Apple and a Basket....... Dog and an...
Type: Posts; User: johnbee
you're way off the track now. let me get you back to the right track of our argument.
cup and bucket? that's OOP.....
let me give you few more.... Apple and a Basket....... Dog and an...
i agree 100%.. :)
i personally learn faster through visual (if explained visually for instance)....
of course you cannot do that to a kid.
BUT you can teach the kid "how to put that CUP inside the bucket".... simple.... without any word or saying anything... JUST BY looking at how the OBJECT...
a novice without knowledge of OBJECTS will only understand "if statement" as a validation..... or as plain day-to-day "words".. like, "if you bring me a glass of water, i can scratch your back."...
it all became TOO SIMPLE to me now because i understand OOP now..... and I can actually see object interacting in my mind.....
I see things as an OBJECT...... I can make an OBJECT out of a String...
i believe in Java, you need to understand OOP first..... in my experience.
if not after, ALONG with it (but you only need a bit of syntac. not the WHOLE whack of it)
for instance.... to model a...
MODERATOR EDIT: This thread is a continuation of the following: http://www.javaprogrammingforums.com/java-theory-questions/37301-need-some-exercices.html
Moved to keep that thread on topic and give...
You don't need practice yet...... You need to UNDERSTAND first (the whole concept of Object Oriented Programming with Java)
sorry and thank you.
here's the algorithm+pseudocode that might help you solve this (am just saying, "instruction in plain english")
1) write name of function (must accept an integer as parameter)
2) start a loop...
use "concatenate" or "+" and "\t".... for format your output in ONE single println.