Java

=Java=

[|Greenfoot Website] [|Greenfoot Programmer's Manual]









**Java Daily Notes - Learning Group Java**

[|Java Videos - Cave of Programming]

Principles of Coding

 * 1) One entry point and one exit point in a method.
 * 2) Keep it short(Keep it simple).
 * 3) Don't repeat yourself.
 * 4) Test as you write.
 * 5) Reduce dependencies as much as possible.
 * 6) Step back and think about how you want to plan a function(don't just start).


 * Terms To Know!**


 * Polymorphism: many shapes/forms.
 * Ex. Animal is the parent
 * Cats class extends Animal
 * Zebra class extends Animal
 * Overriding: adding to a parent or changing a method in a parent class through an extended class
 * Ex. Animal parent
 * Wolf extends animal and contains a new function or replaces a function in animal
 * Abstraction: removing unneeded details
 * Encapsulation: hiding unnecessary details
 * Ex. private/protected
 * We don't care what happens in the smallest details of the cpu as long as it runs fast
 * Coupling: classes/methods that depend little on each others methods.
 * goal: low
 * global/publicStatic cheating!
 * Cohesion: in a method, does 'one' thing
 * Overloading: two methods with the same name but have different type requirements
 * Can and can't of variable naming:
 * No reserved words eg. for, while, int
 * Cannot begin with a number
 * Cannot begin with an operator
 * Data types to be familiar with:
 * int; Signed 32 bit integer, ranges from -2,147,483,648 to 2,147,483,647
 * long; Signed 64 bit integer, ranges from -9,223,372,036,854,775,808 to 9,223,327,036,854,775,807
 * char; single character; single quotes
 * string; multiple characters; double quotes
 * double; decimal numbers
 * float; lower precision than double
 * Loops to be familiar with:
 * for
 * while
 * do-while

Resource Links
[|Window Builder Install Link]

Java API

[|WindowBuilder]

JSmooth Java EXE Wrapper

Check out this video from: [|Pixar's Randy Nelson on the Collaborative Age]

[|Colin Archibald's Java PowerPoint Notes]

[|Blox Project video]


 * Marketing**
 * [|Video - Must have for 2011]**
 * [|Social Media Marketing Ideas]**s Randy Nelson on the Collaborative Age