September 2011
Intermediate to advanced
468 pages
15h 37m
English
I'm going to give a brief example of Java code. It is 20 lines long and not too complex, but it will introduce you to many Java syntax concepts. You do not need to memorize the details of these concepts—they will present themselves in every program you write in Java.
Throughout the following discussion, we are going to consider some aspects of the code in Listing 3-3. Keep a bookmark at this page for reference as you read the next few sections.
Listing 3-3. MyApp2.java
package pkg2;
import oracle.sql.ARRAY;
import mypkg.MyRef;
public class MyApp2 {
private ARRAY myArray = null;
static MyRef myRef;
public static void main( String[] args ) {
MyApp2 m = new MyApp2(); MyRef useRef = new MyRef(); ...Read now
Unlock full access