Chapter 01 - JAVA Programming
Chapter 01 - JAVA Programming
Slide 1
Objectives
Applied Given a NetBeans project that contains the source code for a Java application, use NetBeans to open the project, view and compile the source code, and run the application. Given the source code for a Java application, use NetBeans to create a project; enter edit, and compile the source code; and run the application.
Slide 2
Objectives (cont.)
Knowledge Describe how Java compares with C++ and C# based on these features: syntax, platform independence, speed, and memory management. Name and describe the three types of programs that you can create with Java. Describe how Java compiles and interprets code. Explain how the use of bytecodes lets Java achieve platform independence. Describe the benefits of using a Java IDE like NetBeans or Eclipse. Describe how NetBeans detects and displays syntax errors.
Slide 3
Java timeline
Year 1996 1997 1998 1999 2000 2002 2004 2006 2010 2011 Release/Event Java Development Kit 1.0 (JDK 1.0). Java Development Kit 1.1 (JDK 1.1). Java 2 Platform with version 1.2 of the Software Development Kit (SDK 1.2). Java 2 Platform, Standard Edition (J2SE). Java 2 Platform, Enterprise Edition (J2EE). J2SE with version 1.3 of the SDK. J2SE with version 1.4 of the SDK. J2SE 5.0 with version 1.5 of the JDK. Java SE 6 with version 1.6 of the JDK. Oracle buys Sun. Java SE 7 with version 1.7 of the JDK.
Slide 4
Slide 5
Speed Memory
Slide 6
A GUI application
Slide 7
A console application
Slide 8
An applet
Slide 9
A servlet
Slide 10
Slide 11
Slide 12
Slide 13
Java compiler
Operating system
Slide 14
Slide 15
Slide 16
Slide 17
Slide 18
Slide 19
Mac OS X note
To enable right-clicking with Mac OS X, you can edit the system preferences for the mouse.
Slide 20
Slide 21
Slide 22
Slide 23
Slide 24
Slide 25
Slide 26
Slide 27
Slide 28
Slide 29