ch01 - Part I The Programmer's Exam CHAPTERS 1 2 3 4 5...

Info iconThis preview shows pages 1–6. Sign up to view the full content.

View Full Document Right Arrow Icon
Part I The Programmer’s Exam CHAPTERS 1 Language Fundamentals 2 Declarations and Access Control 3 Operators and Assignments 4 Flow Control, Exceptions, and Assertions 5 Object Orientation, Overloading and Overriding, Constructors, and Return Types 6 Java.lang—The Math Class, Strings, and Wrappers 7 Objects and Collections 8 Inner Classes 9 Threads
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 2
1 Language Fundamentals CERTIFICATION OBJECTIVES Java Programming Language Keywords Literals and Ranges of All Primitive Data Types Array Declaration, Construction, and Initialization Using a Variable or Array Element That Is Uninitialized and Unassigned Command-Line Arguments to Main Two-Minute Drill Q&A Self Test
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
T his chapter looks at the Java fundamentals that you need to pass the Java 1.4 Programmer exam. Because you’re planning on becoming Sun certified, we assume you already know the basics of Java, so this chapter concentrates just on the details you’ll need for the exam. If you’re completely new to Java, this chapter (and the rest of the book) will be confusing, despite our spectacularly cogent writing. That’s our story and we’re sticking to it! CERTIFICATION OBJECTIVE Java Programming Language Keywords (Exam Objective 4.4) Identify all Java programming language keywords and correctly constructed identifiers. Keywords are special reserved words in Java that you cannot use as identifiers (names) for classes, methods, or variables. They have meaning to the compiler; it uses them to figure out what your source code is trying to do. Table 1-1 contains all 49 of the reserved keywords. You must memorize these for the test; you can count on being asked to select the keywords (and nonkeywords) from a list. Notice none of the reserved words have 4 Chapter 1: Language Fundamentals abstract boolean break byte case catch char class const continue default do double else extends final finally float for goto if implements import instanceof int interface long native new package private protected public return short static strictfp super switch synchronized this throw throws transient try void volatile while assert TABLE 1-1 Complete List of Java Keywords
Background image of page 4
Java Programming Language Keywords (Exam Objective 4.4) 5 capital letters; this is a good first step when weeding out nonkeywords on the exam. You’re probably familiar with most of them, but we’ll review them anyway. Don’t worry right now about what each keyword means or does; we’ll cover most of them in more detail in later chapters. Look for questions that include reserved words from languages other than Java. You might see include , overload , unsigned , virtual , friend , and the like. Besides appearing in questions specifically asking for keyword identification, the “imposter” words may show up in code examples used anywhere in the exam. Repeat after me, “ Java is not C++ .” Access Modifiers The following are access modifiers: private Makes a method or a variable accessible only from within its own class.
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 6
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 09/17/2009 for the course CMPE 126 taught by Professor Gpour during the Fall '07 term at San Jose State University .

Page1 / 57

ch01 - Part I The Programmer's Exam CHAPTERS 1 2 3 4 5...

This preview shows document pages 1 - 6. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online