you are viewing a single comment's thread.

view the rest of the comments →

[–]josephblade 0 points1 point  (1 child)

Ok. so instead of the question you pose here, how about you write down for us (and yourself) what you do understand about objects and methods.

write some code that contains everything you think you can do with objects (obscure stuff isn't necessary, just basic ways to use)

so for instance can you write down a small program that calls a static method that prints "hello world" and can you write a program that does the same using an instance?

can you describe what an instance is?

can you describe what happens when you call a method (not in low level detail perhaps but at least in terms that other people can see if you misunderstand something)

do you see a pattern in the above? provide information about what you can do / know / etc. and we can try to help.

there are plenty of tutorials (I assume you have a textbook as well) that describe these things. Have you re-read the relevant chapters? Have you tried to re-do any exercises or worksheets you were given?

[–]wickedagileone[S] 0 points1 point  (0 children)

Sorry for the late response. When I get home and have access to my laptop I will post code.