Lesson 1
Lesson 2
Lesson 3
Lesson 4
Hello World
Mr Techednet/ First Java App
Variables, Data Types
Loops
Arrays
Classes and Objects
This blog exists as a study aid for me as I begin to learn Java programming. Here are assembled links, notes and anything else I find on the web to help me in this endeavor and to have it all in one place. If you are a Java student and find any of these resources helpful, then cool! But this blog was really created specifically for me! :) Updated constantly...
Lesson 1
Lesson 2
Lesson 3
Lesson 4
Posted by The Fitness Diva at 11:22 PM
The Best Beginner Java Books
Java Comments - the Java compiler ignores comments There are 3 types of Java comments: Single Line Comment // this is a sinle line comment Multi Line Comment /*this is a multi line comment *use this when you need to have multiple lines *? Documentation Comment /**your document goes here. You can explain your code, add header,comments, etc **/ Package Statement Import Statement Class Declaration Class Body= { } + variables Variables Functions Statements |
Program Definitions and Sytax Class name and Javafile name must be the same -casing -spelling All stand alone Java application must contain a main ( ) method ^^public^^static^^void^^main^^ *public - open for use *static - does not require a new instance *void - *main - An opening and closing curly brace identifies each method public static void main (string [ ] args) Must have a matching closing parenthesis for eery openning parenthesis - system.out.println (name); if (count > o) int results ; public double Every Java statement must end in a semicolon |
General Programming Links
A Beginner's Guide to Programming
Game Programming Beginners Guide
0 comments:
Post a Comment