Moodle NZ
You are currently using guest access (Login)
Skip Search Forums

Search Forums

Skip Administration

Administration

Skip Random Glossary Entry

Random Glossary Entry

method

A method is a group of programming statements inside a convenient name:

private void printThis()
{
System.out.println("Hello world");
System.out.println("My name is Thomas");
}

The method header has the form:

<scope specifier> <return type> <identifier>( <parameter list> )

The scope specifier tells us where the method can be called from - if it is private only from this class, if public then from any class.

The return type is used when the method returns a value (such as int, double, String etc) otherwise it is void.

The identifier is the name you give to the method.

The parameter list is empty or a list of data items the method uses to perform irs functions (see parameter).
Skip Course categories

Weekly outline

 
Welcome to the Java Programming Workshop

The User Manual contains important information and should be read first. After that, please go to the icebreaker wiki and play with that. See a video intro from the workshop leader (optional!).

Notice

Creative Commons License
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 New Zealand License. Richard Jones asserts his right to be acknowledged as the author and creator of this work. Please note that this does not stop you using it (while retaining the attribution notice) if you are in a commercial or for-profit organisation (eg a private school or training establishment). Enjoy.
 
 

4 October - 10 October

Week 1


In which we meet the JDK and BlueJ and cover seemingly endless jargon (the glossary might help). There is quite a lot of reading material here and a couple of introductory assignments (see workbook 1). There are additional exercises provided and these should be completed - the thing is to practice as much as possible.

If you are feeling a bit overwhelmed remember: - "Black holes are not as black as they are painted" Stephen W. Hawking.

Show only week 1
 

11 October - 17 October

Week 2



This week we keep up the fast pace, in week 3 we will slow down a little to let you catch your breath. First we will look at some data types, next how selection (if statements) work in Java and then we will look at some GUI stuff.

Thought for week 2:“One hundred percent of the shots you don’t take don’t go in.” Wayne Gretzky

With that in mind, please return to the icebreaker to meet your new partner for week 2 and ask them any additional questions that you might like to.
Show only week 2
 

18 October - 24 October

Week 3


I believe this will be challenging but there is a lot less new stuff to learn at least. We look at a simple GUI quiz and ask you to extend it then we look at different approaches to constructing GUI's.

“It is not the mountain we conquer, but ourselves.” Sir Edmund Hillary

Once again, please return to the icebreaker to meet your new partner for week 3 and ask them any additional questions that you might like to.
Show only week 3
 

25 October - 31 October

Week 4


Wow, things move so fast. This week we have to consider arrays and loops (selection). Also an introduction to text files (simple) but with some more complex uses also included as an optional extra. We have a collective activity this week - please make a contribution if you can.

This week's quote: "They always say time changes things, but you actually have to change them yourself" - Andy Warhol
Show only week 4
 

1 November - 7 November

Week 5


This week is devoted to the final assignment which is worth 30% of the course grade. This is described in workbook 5 which also contains the collected reference material. The resources for this week are contained in the zip file in the week 5 resources folder - this is a complete BlueJ project to be unzipped in a folder of your choice. If you need the codes to use in another IDE please extract the java source files from the codes sub-folder.

Thought for week 5: My therapist told me the way to achieve true inner peace is to finish what I start. So far today, I have finished 2 bags of M&M's and a chocolate cake. I feel better already. Dave Barry
Show only week 5
 

8 November - 14 November

Post workshop activities
For this week we need your input on the final questionnaire - this cannot be anonymous because it is a compulsory component for certification but you do have the opportunity to make anonymouse comments in the week 4 feedback survey if you wish to.

A post-workshop forum is also included for any further comments that you have to make or any remaining questions.
Show only week 6
Skip Online Users

Online Users

(last 5 minutes)
None
Skip My Favourite Java Books

My Favourite Java Books