lorem ipsum dolor sit amet ...
Tidsskrift
Bog, 3. edition, 2022
Bog, Third edition, 2022
Bog, 2. ed., 2005
Bog, 2. ed., 2005
Breaking the Surface. The way Java works. Code structure in Java. Anatomy of a class. The main() method. Looping. Conditional branching (if tests). Coding the "99 bottles of beer" app. Phrase-o-matic. Fireside chat: compiler vs. JVM. A Trip to Objectville. Chair Wars (Brad the OO guy vs. Larry the procedural guy). Inheritance (an introduction). Overriding methods (an introduction). What's in a class? (methods, instance variables). Making your first object. Using main(). Guessing Game code. Know Your Variables. Declaring a variable (Java cares about type). Primitive types ("I'd like a double with extra foam, please"). Java keywords. Reference variables (remote control to an object). Object declaration and assignment. Objects on the garbage-collectible heap. Arrays (a first look). How Objects Behave. Methods use object state (bark different). Method arguments and return types. Pass-by-value (the variable is always copied). Getters and Setters. Encapsulation (do it or risk humiliation). Using references in an array. Extra-Strength Methods. Building the Sink a Dot Com game. Starting with the Simple Dot Com game (a simpler version). Writing prepcode (pseudocode for the game). Test code for Simple Dot Com. Coding the Simple Dot Com game. Final code for Simple Dot Com. Generating random numbers with Math.random(). Ready-bake code for getting user input from the command-line. Looping with for loops. Casting primitives from a large size to a smaller size. Converting a String to an int with Integer.parseInt(). Using the Java Library. Analying the bug in the Simple Dot Com Game. ArrayList (taking advantage of the Java API). Fixing the DotCom class code. Building the real game (Sink a Dot Com). Prepcode for the real game. Code for the real game. boolean expressions. Using the library (Java API). Using packages (import statements, fully-qualified names). Using the HTML API docs and reference books. Better Living in Objectville. Understanding inheritance (superclass and su
Fra
Alle registrerede artikler fordelt på udgivelser
...
...
...
...
...