副标题:无

作   者:

分类号:

ISBN:9787115095794

微信扫一扫,移动浏览光盘

简介

  唯一一本基于超过20万个小时的it培训经验编写的认证学习指南。100%的知识覆盖率:详细阐述了310-025考试的所有正式测试目标。第一手经验:在课堂实验之后,提供了按步骤操作的指导材料。考试注意事项:根据已往的考试经验提出了警告信息,指出最棘手的考试题目,以及如何正确地回答这些问题。    两类练习问题:问题以知识和特定情况为基础,所有问题均提供了深入解答。课堂提示:直接来自global knowledge公司获奖教师对重要问题的讨论。         

目录

1 language fundamentals

source files

exercise 1-1 creating and compiling a source file

package, import, class, method, and variable declarations

packages

exercise 1-2 creating a package and inserting classes

classes

interfaces

methods

variable declarations and identifiers

import statements

java programming language keywords and identifiers

access modifiers

class, method, and variable modifiers

control flow

error handling

package control

primitives

variable keywords

unused keywords

. using a variable or array element that is uninitialized

and unassigned

primitive and object type class members

local (automatic) primitives and objects

ranges of all primitive data types

literal values for strings

literal values for all primitive types
arrays

declaration

initialization

exercise 1-3 creating a program that outputs

command-line arguments

two-minute drill

self test

self test answers

2 declarations and access control

class modifiers and access control

default access

public access

final classes

abstract classes

exercise 2-1 creating an abstract superclass and subclass

method and variable access control

public members

private members

protected and default members

methods

variables

default constructors

exercise 2-2 creating a superclass a subclass

legal return types

boolean

char

integer primitive types

float primitive types

object return types

two-minute drill

self test

self test answers

3 operators and assignments

java operators

assignment operators

comparison operators

instanceofcomparison

equality operators

arithmetic operators

shift operators

bitwise operators

logical operators

bitwise complement operator

conditional operators

casting

the equals() method

java.lang.string

java.lang. boolean

java.lang.object

evaluation order

passing variables into methods

two-minute drill

self test

self test answers

4 flow control

writing code using if and switch statements

exercise 4-1 : creating a switch-case statement

legal argument types for if and switch statements

writing code using loops
using break and continue
unlabeled statements
labeled statements
two-minute drill
self test

self test answers
5 exception handling

catching an exception using try and catch

using finally

propagating uncaught exceptions

defining exceptions

exception hierarchy

handling an entire class hierarchy of exceptions

exception matching

exception specification and the public interface

runtime exceptions and checked exceptions

overriding methods

writing and throwing your own exceptions

rethrowing the same exception

creating new exceptions

two-minute drill

self test

self test answers

6 garbage collection

garbage collection

the behavior of the garbage collection system

mark-sweep

garbage collection and performance

writing code that explicitly makes objects eligible for collection

making objects available for carbage collection

forcing garbage collection

discovering whether an object was collected

exercise 6-2: overriding the finalize method

two-minute drill

self test

self test answers

7 overloading/ overriding runtime type and object

orientation

encapsulation in object-oriented design

writing modular code

knowing what visibility is appropriate

designing and implementing tightly encapsulated classes

designing for modularity

designing for appropriate visibility

writing encapsulated classes

benefits of encapsulation

describing is a and has a class relationships

invoking overridden or overloaded methods

properly overridden methods

properly overloaded methods

invoking parental or overloaded constructors

two-minute drill

self test

self test answers

8 inner classes

static inner classes

member inner classes

local inner classes

anonymous inner classes

inner class access to an enclosing class

two-minute drill

self test

self test answers

9 threads

creating, instantiating, and starting new threads

creating a thread by extending the thread class

creating a thread by implementing the runnable interface

starting an instance of a thread

transitioning between thread states

putting threads to sleep

exercise 9-1: creating a thread and putting it to sleep
concurrent access problems and synchronized threads

using synchronized to transmit groups

ofvariables between multiple threads

exercise 9-2: synchronizing a block of code

communicating with objects by waiting and notifying

using wait() and notify() by two interdependent threads

using notifyall when many threads may be waiting

deadlocked threads

scheduling threads using priority and yielding

two-minute drill

self test

self test answers

10 the iava.lang.math class

using the java.lang.math class

methods of the java.lang.math class

exercise 10-1: using the math class

exercise 10-2: rounding random numbers

methods not covered on the exam

two-minute drill

self test

self test answers

11 strings

creating and working with strings in java

storage of strings and string immutability

using the stringbuffer class

constructors and methods for the string class

equals(string str)

equalsignorecase(string str)

compareto(string str)

touppercase()

tolowercase()

charat(int index)

substring(int start)

substring(int start, int end)

indexof(char ch), indexof(char ch, int index), index

of(string s), indexof(string s, int index)

lastindexof(char ch)

startswith(string str)

trim()

exercise 11-1 : using the string class

constructors and methods for the stringbuffer class

capacity()

reverse()

setcharat(int index, char ch)
append(object obj)
insert(int index, object obj)
delete(int start, int end)
length()
exercise 11 -2: using the stringbuffer class

two-minute drill
self test

self test answers
12 the java.util package

the collections framework

collection interfaces alnd classes

collection interface

set

sorted set

list

map

sortedmap

exereise 12- 1 : choosing the correct collection type

two-minute drill

self test

self test answers

13 the iava.awt package: the basics

the java.awt package

components

component methods

awt components

containers

container methods

types of containers

layout managers

layout manager interfaces

types of layoat managers

exercise 13-1 : using layout managers

menus

menu methods

menu components

painting

overriding the paint() method

the graphics class

drawing shapes

working with text

exercise 13-2: painting to a canvas

two-minute drill

self test

self test answers

14 the java.awt patkage: event handling

java events and event listeners

event objects

event sources

event listeners

the java.awt.event package

the awtevent class

events in the java.awt.event package

exereise 14-1 : action events

implementing the listener interfaces

exercise 14-2: window events

two-minute drill
self test
self test answers
15 the java.io package

navigating a file system

directory separators

methods of the file class

exereise 15-1 : navigating the file system
the java.io hierarchy
inputstream and outputstream classes
filterinputstream and filteroutputstream classes

datainput and dataoutput interfaces

utilizing fileinputstream, fileoutputstream, and

randomaccessfile

fileinputstream and fileoutputstream classes

writing files using fileoutputstream

exertise 15-2: using fileoutputstream and

dataoutputstream

reading files using filelnputstream

exercise 15-3: reading data types from a file using

datainputstream

reading and writing with randomaccessfile

exercise 15-4: writing and reading data using a

random access file

translating between unicode text and other character encodings

reader and writer classes

inputstreamreader

exercise 15-5: reading and converting data using

character encoding

outputstreamwriter

default encoding conversion versus specific conversion

two-minute drill

self test

self test answers

a about the cd

installing certtrainer

system requirements

certtrainer

examsim

saving scores as cookies

e-book

help

upgrading

b about the web site

get what you want when you want it


已确认勘误

次印刷

页码 勘误内容 提交人 修订印次

    • 名称
    • 类型
    • 大小

    光盘服务联系方式: 020-38250260    客服QQ:2410046007

    意见反馈

    14:15

    关闭

    云图客服:

    尊敬的用户,您好!您有任何提议或者建议都可以在此提出来,我们会谦虚地接受任何意见。

    或者您是想咨询:

    用户发送的提问,这种方式就需要有位在线客服来回答用户的问题,这种 就属于对话式的,问题是这种提问是否需要用户登录才能提问

    Video Player
    ×
    Audio Player
    ×
    pdf Player
    ×
    Current View

    看过该图书的还喜欢

    some pictures

    解忧杂货店

    东野圭吾 (作者), 李盈春 (译者)

    亲爱的云图用户,
    光盘内的文件都可以直接点击浏览哦

    无需下载,在线查阅资料!

    loading icon