Java Programming: interface and abstract (OBJECT ORIENTED PROGRAMMING)

preview_player
Показать описание
OBJECT ORIENTED PROGRAMMING WITH JAVA

features:
1. inheritance
2. Abstract
3. Interface
4. polymorphism

other concepts:
1. Method override
2. Method overload
3. extends and implements

ABSTRACT
0. Abstract class archive abstraction about 50%
1. Abstract method, should be in Abstract class
2. Abstract method never be implemented in Abstract class
3. inheritance to Abstract class must implement Abstract method
4. Abstract class can contain complete methods
5. data type and length in abstract method parameters should match
6. can not support multiple inheritance

INTERFACE
0. interface class archive abstraction about 100%
1. interface, should have Abstract method
2. Abstract method never be implemented in interface class
3. inheritance to interface class must implement Abstract method
4. interface class can never contain complete methods
5. data type and length in abstract method parameters should match
6. can support multiple inheritance

NB:

0. the process of implementing abstract method is "method override"
1. the process of duplicating the method is "method overload"

lecture 1
Java Programming: inheritance

lecture 2
Java Programming: setter and getter method

lecture 3
Java Programming: constructor and object

lecture 4
Java Programming: interface and abstract (OBJECT ORIENTED PROGRAMMING)

lecture 5
Java Programming: interface and abstract (part 2)

lecture 6
Java Programming: polymorphism

lecture 7
Java Programming: convert String data to Float and Double or integer

lecture 8
Java Programming: Exception Handling
Рекомендации по теме
welcome to shbcf.ru