| 1. Lời giới thiệu Khoá học “Ngôn ngữ Java cho lập trình viên” sẽ trang bị cho học viên cú pháp của ngôn ngữ lập trình Java; lập trình hướng đối tượng với ngôn ngữ Java; tạo các giao diện đồ họa người dùng (GUIs), xử lý lỗi, các file dữ vào ra (I/O), các luồng và làm việc trên mạng. Những lập trình viên có hiểu biết về khái niệm hướng đối tượng sẽ học được cách phát triển những ứng dụng với công nghệ Java. Khoá học sử dụng Java 2 Software Development Kit (Java 2 SDK). 2. Đối tượng - Lập trình viên cần bổ sung kiến thức về ngôn ngữ Java cho kỹ năng của mình
- Đối tượng chuẩn bị thi chứng chỉ Sun Certified Programmer
3. Yêu cầu trước khi tham gia khoá học Để hoàn thành tốt khoá học, học viên cần phải: - Hiểu các nguyên lý về lập trình hướng đối tượng
- Tạo hoặc dịch được các chương trình đơn giản dùng C, C++, hoặc đã hoàn thành khoá học “Ngôn ngữ Java cho người mới bắt đầu”.
- Tạo và hiệu chỉnh các tệp văn bản sử dụng một chương trình soạn thảo văn bản.
4. Các kỹ năng thu được Sau khi hoàn thành khoá học, học viên có thể: - Xây dựng các ứng dụng dùng công nghệ Java, với các đặc trưng hướng đối tượng như tính bao đóng, kế thừa và tính đa hình.
- Sử dụng các kiểu dữ liệu và biểu thức trong Java; Sử dụng cấu trúc điều khiển luồng.
- Sử dụng các mảng và các tập hợp dữ liệu khác.
- Triển khai các kỹ thuật xử lý lỗi sử dụng kỹ thuật xử lý ngắt.
- Tạo GUI theo sự kiện sử dụng các thành phần bảng, nút, nhãn, trường và vùng ký tự.
- Thực hiện các chức năng vào/ ra để đọc và ghi dữ liệu lên các tệp văn bản.
- Xây dựng các chương trình đa luồng.
- Xây dựng các giao thức TCP/IP trên client để liên lạc qua các sockets.
5. Thời lượng: 40h NỘI DUNG KHÓA HỌC Module 1 - Getting Started - Describe the key features of Java technology
- Write, compile, and run a simple Java technology application
- Describe the Java virtual machine\'s (JVM machine\'s) function
- Define garbage collection
- List the three tasks performed by the Java platform that handle code security
Module 2 - Object-Oriented Programming - Define modeling concepts: abstraction, encapsulation, and packages
- Discuss why you can reuse Java technology application code
- 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
- In a Java technology program, identify the following:
- The package statement
- The import statements
- Classes, methods, and attributes
- Constructors
- 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
- Identify and correct a Possible reference before assignment compiler error
- 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 type to another
Module 6 - Class Design - Define inheritance, polymorphism, overloading, overriding, and virtual method invocation
- Use the access modifiers protected and \"package-friendly\"
- Describe the concepts of constructor and method overloading
- Describe the complete object construction and initialization operation
- In a Java program, identify the following:
- Overloaded methods and constructors
- The use of this to call overloaded constructors
- Overridden methods
- Invocation of super class methods
- Parent class constructors
- Invocation of parent class constructors
Module 7 - Advanced Class Features - Describe static variables, methods, and initializers
- Describe final classes, methods, and variables
- Explain how and when to use abstract classes and methods
- Explain how and when to use nested classes
- Distinguish between static and non-static nested classes
- Explain how and when to use an interface
- In a Java software program, identify:
- static methods and attributes
- final methods and attributes
- Nested classes
- interface and abstract classes
- abstract methods
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
- Disable assertions at runtime
Module 9 - Text-Based Applications - Write a program that uses command-line arguments and system properties
- Write a program that reads from standard input
- Write a program that can create, read, and write files
- Describe the basic hierarchy of collections in Java 2 SDK
- Write a program that uses sets and lists
- Write a program to iterate over a collection
- Describe the collection classes that existed before Java 2 SDK
- Identify deprecated classes and explain how to migrate from Java Development Kit (JDK) 1.0 to JDK 1.1 to Java 2 JDK
Module 10 - Building Java GUIs - Describe the Abstract Windowing Toolkit (AWT) package and its components
- Define the terms containers, components, and layout managers, and describe how they work together to build a GUI
- Use layout managers
- Use the FlowLayout, BorderLayout, and GridLayout managers to achieve a desired dynamic layout
- Add components to a container
- Use the Frame and Panel containers appropriately
- Describe how complex layouts with nested containers work
- In a Java technology program, identify the following:
- Containers
- The associated layout managers
- The layout hierarchy of all components
Module 11 - GUI Event Handling - Define events and event handling
- Write code to handle events that occur in a GUI
- Describe the concept of adapter classes, including how and when to use them
- Determine the user action that originated the event from the event object details
- Identify the appropriate interface for a variety of event types
- Create the appropriate event handler methods for a variety of event types
- Understand the use of inner classes and anonymous classes in event handling
Module 12 - GUI-Based Applications - Identify the key AWT components and the events that they trigger
- 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
- Describe the key features of Java technology
- Write, compile, and run a simple Java technology application
- Describe the Java virtual machine\'s (JVM machine\'s) function
- Define garbage collection
- List the three tasks performed by the Java platform that handle code security
Describe the key features of Java technology Write, compile, and run a simple Java technology application Describe the Java virtual machine\'s (JVM machine\'s) function Define garbage collection List the three tasks performed by the Java platform that handle code security |