• Phát triển Web nâng cao - Bài 3: Server ControlPhát triển Web nâng cao - Bài 3: Server Control

    3.1. Html Server control 3.2. Web Server control 3.3. Client-Side Callback

    pdf54 trang | Chia sẻ: thuongdt324 | Ngày: 01/12/2020 | Lượt xem: 735 | Lượt tải: 0

  • Object Oriented Programming - Lesson 8: Polymorphism and generic programming - Trinh Thanh TrungObject Oriented Programming - Lesson 8: Polymorphism and generic programming - Trinh Thanh Trung

    • Polymorphism • Downcasting and upcasting • Overloading • Method call binding • Generic programming I. DOWN CASTING UP CASTING rimitive type casting • Java performs automatic primitive type casting when: – Two types are compatible – The destination type is larger then the source type – Example: • int i; • double d = i; • We have to ...

    pdf46 trang | Chia sẻ: candy98 | Ngày: 01/12/2020 | Lượt xem: 640 | Lượt tải: 0

  • Object Oriented Programming - Lesson 7: Overriding, Abstract class and Interface - Trinh Thanh TrungObject Oriented Programming - Lesson 7: Overriding, Abstract class and Interface - Trinh Thanh Trung

    • Method overriding • Single inheritance and multiple inheritance • Abstract class and abstract method • Interface and implementation I. METHOD OVERRIDING 1. Concept 2. Final modifier and overriding 3. Object class

    pdf38 trang | Chia sẻ: candy98 | Ngày: 01/12/2020 | Lượt xem: 802 | Lượt tải: 0

  • Object Oriented Programming - Lesson 6: Inheritance - Trinh Thanh TrungObject Oriented Programming - Lesson 6: Inheritance - Trinh Thanh Trung

    • Inheritance – Principles – Inheritance hierarchy – Sub class definition • extends – Order of initialization • super 1. Principles • Reusing through class: create a new class by extending the functionality of an existing class – The existing class is called the parent class, or super class, or base class – The new class is called the...

    pdf34 trang | Chia sẻ: candy98 | Ngày: 01/12/2020 | Lượt xem: 710 | Lượt tải: 0

  • Object Oriented Programming - Lesson 5: Encapsulation, Overloading and Aggregation - Trinh Thanh TrungObject Oriented Programming - Lesson 5: Encapsulation, Overloading and Aggregation - Trinh Thanh Trung

    • Encapsulation – Visibility scope – Data hiding • Overloading – Principles – Constructor overloading • Aggregation – Principles – Order of initialization • Class usage – Any classes – Java classes I. Encapsulation • Encapsulation: Prevents the code and data being randomly accessed by other code defined outside the class. – Group ...

    pdf55 trang | Chia sẻ: candy98 | Ngày: 01/12/2020 | Lượt xem: 712 | Lượt tải: 0

  • Object Oriented Programming - Lesson 4: Object Initialization and Usage - Trinh Thanh TrungObject Oriented Programming - Lesson 4: Object Initialization and Usage - Trinh Thanh Trung

    • Data initialization and constructor • Object declaration and initialization • Object usage I. Data initialization • Needs of initialize data before using • Primitive data type: initialize by assignment operator • Object (reference data type): initialize by using constructor. Constructor • Objects are created through constructors – ...

    pdf36 trang | Chia sẻ: candy98 | Ngày: 01/12/2020 | Lượt xem: 578 | Lượt tải: 0

  • Object Oriented Programming - Lesson 3: Class Building - Trinh Thanh TrungObject Oriented Programming - Lesson 3: Class Building - Trinh Thanh Trung

    • Data abstraction – Overview – Class and instance – Message passing – Visibility • Class building – Declaration • Class declaration • Class member declaration – Data hiding Abstraction • "Abstraction – a concept or idea not associated with any specific instance" – E.g. Mathematics definitions • Two types of abstraction – Control abs...

    pdf38 trang | Chia sẻ: candy98 | Ngày: 01/12/2020 | Lượt xem: 634 | Lượt tải: 0

  • Object Oriented Programming - Lesson 2.2: Java syntax basics (cont) - Trinh Thanh TrungObject Oriented Programming - Lesson 2.2: Java syntax basics (cont) - Trinh Thanh Trung

    • Operators • Expression • Statement • Block • Control flow statements I. OPERATORS 1. Classification 2. Assignment 3. Arithmetic and substitution 4. Increment and decrement 5. Relational and logic operator 6. Ternary and instance of operator 7. Shift operator

    pdf43 trang | Chia sẻ: candy98 | Ngày: 01/12/2020 | Lượt xem: 730 | Lượt tải: 0

  • Object Oriented Programming - Lesson 2.1: Java syntax basics - Trinh Thanh TrungObject Oriented Programming - Lesson 2.1: Java syntax basics - Trinh Thanh Trung

    • White space • Separators • Comments • Identifiers and keywords • Data types and literals • Comment line arguments I. White spaces • A whitespace is a space, a tab or a new line. • It is used to separate the tokens in a source file and to improve readability • Java don’t require indentation rules – Example: following codes are equival...

    pdf40 trang | Chia sẻ: candy98 | Ngày: 01/12/2020 | Lượt xem: 667 | Lượt tải: 0

  • Object Oriented Programming - Lesson 1: Introduction - Trinh Thanh TrungObject Oriented Programming - Lesson 1: Introduction - Trinh Thanh Trung

    • Programming • Object-oriented paradigm • Java background – Process of programming using Java technology – Java technology • Basic tools for Java programming I. Programming • Given a problem, how to: – Design an algorithm for solving it – Implement this algorithm as a computer program Needs of programming languages and paradigms • La...

    pdf45 trang | Chia sẻ: candy98 | Ngày: 01/12/2020 | Lượt xem: 784 | Lượt tải: 0