|

JAVA PROGRAMMING LANGUAGE (SL-275-SE6) 1. Giới thiệu Khóa học Ngôn ngữ lập trình Java cung cấp cho học viên những thông tin về cú pháp của các ngôn ngữ lập trình Java, lập trình hướng đối tượng với ngôn ngữ lập trình Java; tạo ra các giao diện người dùng đồ họa (GUIs), trường hợp ngoại lệ, tập tin đầu vào / đầu ra (I / O), và đề ; và mạng. Lập trình viên quen với khái niệm hướng đối tượng có thể tìm hiểu làm thế nào để phát triển ứng dụng công nghệ Java. Khóa học nêu đặc điểm của Nền tảng Java, nền tảng Standard Edition 6 (Java SE 6), và sử dụng sản phẩm Java SE Development Kit 6 (JDK 6). Các học viên thực hiện các bài tập tại phòng thí nghiệm của khóa học bằng cách sử dụng NetBeans Integrated Development Environment (IDE). 2. Đối tượng Những học viên có thể được hưởng lợi từ khóa học này là các lập trình viên những người quan tâm đến việc thêm ngôn ngữ lập trình Java vào danh sách của họ về các kỹ năng và những sinh viên đang chuẩn bị cho kì thi chứng chỉ lập trình viên Java của Sun. 3. Yêu cầu trước khi tham gia khóa học Để thành công hoàn toàn trong khóa học này, học viên nên: - Hãy có khả năng trong việc tạo ra các chương trình trong bất kỳ ngôn ngữ lập trình nào hoặc đã hoàn thành SL-110-SE6: Fundamentals of the Java Programming Language course.
- Tạo và chỉnh sửa các tập tin văn bản bằng cách sử dụng một trình soạn thảo văn bản
4. Kỹ năng đạt được Sau khi hoàn thành khóa học, học viên có thể: - Tạo các ứng dụng công nghệ Java có tính năng định hướng theo đối tượn của ngôn ngữ Java, như đóng gói, thừa kế, và đa hình
- Thi công một công nghệ ứng dụng Java từ dòng lệnh
- Sử dụng công nghệ Java kiểu dữ liệu và các biểu thức
- Sử dụng công nghệ Java kiểm soát lưu lượng xây dựng
- Sử dụng các mảng và các bộ sưu tập dữ liệu khác
- Thực hiện các kỹ thuật lỗi xử lý bằng các trường hợp ngoại lệ
- Tạo một giao diện người dùng đồ họa hướng sự kiện (GUI) bằng cách sử dụng các thành phần Swing: bảng, các nút, nhãn hiệu, các lĩnh vực văn bản, và các vùng văn bản
- Thực hiện chức năng đầu vào / đầu ra (I / O) để đọc và ghi dữ liệu và các tập tin văn bản và hiểu dòng I / O nâng cao
- Tạo một khách hàng nối mạng Transmission Control Protocol / Internet Protocol (TCP / IP) truyền đơn giản cái giao tiếp với rằng một máy chủ thông qua ổ cắm
- Tạo chương trình đa luồng
Nội dung JAVA PROGRAMMING LANGUAGE Module 1 - Getting Started - Examine Java technology
- Analyze a simple Java technology application
- Execute a Java technology application
Module 2 - Object-Oriented Programming - Define modeling concepts: abstraction, encapsulation, and packages
- Discuss Java technology application code reuse
- Define class, member, attribute, method, constructor, and package
- Use the access modifiers private and public as appropriate for the guidelines of encapsulation
- Invoke a method on a particular object
- Use the Java technology API online documentation
Module 3 - Identifiers, Keywords, and Types - Use comments in a source program
- Distinguish between valid and invalid identifiers
- Recognize Java technology keywords
- List the eight primitive types
- Define literal values for numeric and textual types
- Define the terms primitive variable and reference variable
- Declare variables of class type
- Construct an object using new
- Describe default initialization
- Describe the significance of a reference variable
- State the consequence of assigning variables of class type
Module 4 - Expressions and Flow Control - Distinguish between instance and local variables
- Describe how to initialize instance variables
- Recognize, describe, and use Java software operators
- Distinguish between legal and illegal assignments of primitive types
- Identify boolean expressions and their requirements in control constructs
- Recognize assignment compatibility and required casts in fundamental types
- Use if, switch, for, while, and do constructions and the labeled forms of break and continue as flow control structures in a program
Module 5 - Arrays - Declare and create arrays of primitive, class, or array types
- Explain why elements of an array are initialized
- Explain how to initialize the elements of an array
- Determine the number of elements in an array
- Create a multidimensional array
- Write code to copy array values from one array to another
Module 6 - Class Design - Define inheritance, polymorphism, overloading, overriding, and virtual method invocation
- Use the access modifiers protected and the default (package-friendly)
- Describe the concepts of constructor and method overloading
- Describe the complete object construction and initialization operation
Module 7 - Advanced Class Features - Create static variables, methods, and initializers
- Create final classes, methods, and variables
- Create and use enumerated types
- Use the static import statement
- Create abstract classes and methods
- Create and use an interface
Module 8 - Exceptions and Assertions - Define exceptions
- Use try, catch, and finally statements
- Describe exception categories
- Identify common exceptions
- Develop programs to handle your own exceptions
- Use assertions
- Distinguish appropriate and inappropriate uses of assertions
- Enable assertions at runtime
Module 9 - Collections and Generics Framework - Describe the general purpose implementations of the core interfaces in the Collections framework
- Examine the Map interface
- Examine the legacy collection classes
- Create natural and custom ordering by implementing the Comparable and Comparator interfaces
- Use generic collections
- Use type parameters in generic classes
- Refactor existing non-generic code
- Write a program to iterate over a collection
- Examine the enhanced for loop
- Module 10 - I/O Fundamentals
Write a program that uses command-line arguments and system properties - Examine the Properties class
- Construct node and processing streams, and use them appropriately
- Serialize and deserialize objects
- Distinguish readers and writers from streams, and select appropriately between them
Module 11 - Console I/ O and File I/O - Read data from the console
- Write data to the console
- Describe files and file I/O
Module 12 - Building Java GUIs Using the Swing API - Describe the JFC Swing technology
- Define Swing
- Identify the Swing packages
- Describe the GUI building blocks: containers, components, and layout managers
- Examine top-level, general-purpose, and special-purpose properties of container
- Examine components
- Examine layout managers
- Describe the Swing single-threaded model
- Build a GUI using Swing components
Module 13 - Handling GUI-Generated Events - Define events and event handling
- Examine the Java SE event model
- Describe GUI behavior
- Determine the user action that originated an event
- Develop event listeners
- Describe concurrency in Swing-based GUIs and describe the features of the SwingWorker class
Module 14 - GUI-Based Applications - Describe how to construct a menu bar, menu, and menu items in a Java GUI
- Understand how to change the color and font of a component
Module 15 - Threads - Define a thread
- Create separate threads in a Java technology program, controlling the code and data that are used by that thread
- Control the execution of a thread and write platform-independent code with threads
- Describe the difficulties that might arise when multiple threads share data
- Use wait and notify to communicate between threads
- Use synchronized to protect data from corruption
Module 16 - Networking - Develop code to set up the network connection
- Understand TCP/IP
- Use ServerSocket and Socket classes to implement TCP/IP clients and
|