Add second year
This commit is contained in:
@ -0,0 +1,39 @@
|
||||
- #[[CT2106 - Object-Oriented Programming]]
|
||||
- No previous topic
|
||||
- **Relevant Slides:** 
|
||||
-
|
||||
- ## Definitions
|
||||
- What is a **class**? #card
|
||||
card-last-interval:: 4
|
||||
card-repeats:: 2
|
||||
card-ease-factor:: 2.46
|
||||
card-next-schedule:: 2022-09-23T18:27:33.091Z
|
||||
card-last-reviewed:: 2022-09-19T18:27:33.091Z
|
||||
card-last-score:: 5
|
||||
- A **class** is a type of *blueprint* or *template* from which you make objects.
|
||||
- What is an **object**? #card
|
||||
card-last-interval:: -1
|
||||
card-repeats:: 1
|
||||
card-ease-factor:: 2.5
|
||||
card-next-schedule:: 2022-09-18T23:00:00.000Z
|
||||
card-last-reviewed:: 2022-09-18T14:51:10.520Z
|
||||
card-last-score:: 1
|
||||
- A (Java) **object** is a self-contained component which consists of *methods* and *properties*.
|
||||
- It is a piece of code that has a **state** and has **behaviour**.
|
||||
- Often, they represent a "real-life" object.
|
||||
- An object is created by *instantiating* a **class**.
|
||||
- What is **bytecode**? #card
|
||||
card-last-interval:: 4
|
||||
card-repeats:: 2
|
||||
card-ease-factor:: 2.7
|
||||
card-next-schedule:: 2022-09-22T15:11:44.761Z
|
||||
card-last-reviewed:: 2022-09-18T15:11:44.762Z
|
||||
card-last-score:: 5
|
||||
- Unlike other high-level programming languages, Java code is **not** compiled into machine-specific code that can be executed by a microprocessor.
|
||||
- Instead, Java programs are compiled into **bytecode**. The bytecode is input into a **Java Virtual Machine (JVM)**, which interprets & executes the code. The JVM is usually a program itself.
|
||||
- Bytecode is **platform independent**.
|
||||
- The JVM is specific for each platform, but the bytecode for the program remains the same across different platforms.
|
||||
- The main trade-off is the effect it has on the execution speed.
|
||||
-
|
||||
- **Next Topic:** [[Introduction to Java]]
|
||||
-
|
@ -0,0 +1,39 @@
|
||||
- #[[CT2106 - Object-Oriented Programming]]
|
||||
- No previous topic
|
||||
- **Relevant Slides:** 
|
||||
-
|
||||
- ## Definitions
|
||||
- What is a **class**? #card
|
||||
card-last-interval:: 10.24
|
||||
card-repeats:: 3
|
||||
card-ease-factor:: 2.56
|
||||
card-next-schedule:: 2022-10-13T19:29:42.373Z
|
||||
card-last-reviewed:: 2022-10-03T14:29:42.374Z
|
||||
card-last-score:: 5
|
||||
- A **class** is a type of *blueprint* or *template* from which you make objects.
|
||||
- What is an **object**? #card
|
||||
card-last-interval:: 3.33
|
||||
card-repeats:: 2
|
||||
card-ease-factor:: 2.36
|
||||
card-next-schedule:: 2022-10-03T16:21:16.230Z
|
||||
card-last-reviewed:: 2022-09-30T09:21:16.231Z
|
||||
card-last-score:: 3
|
||||
- A (Java) **object** is a self-contained component which consists of *methods* and *properties*.
|
||||
- It is a piece of code that has a **state** and has **behaviour**.
|
||||
- Often, they represent a "real-life" object.
|
||||
- An object is created by *instantiating* a **class**.
|
||||
- What is **bytecode**? #card
|
||||
card-last-interval:: 10.24
|
||||
card-repeats:: 3
|
||||
card-ease-factor:: 2.56
|
||||
card-next-schedule:: 2022-10-11T18:21:49.464Z
|
||||
card-last-reviewed:: 2022-10-01T13:21:49.465Z
|
||||
card-last-score:: 3
|
||||
- Unlike other high-level programming languages, Java code is **not** compiled into machine-specific code that can be executed by a microprocessor.
|
||||
- Instead, Java programs are compiled into **bytecode**. The bytecode is input into a **Java Virtual Machine (JVM)**, which interprets & executes the code. The JVM is usually a program itself.
|
||||
- Bytecode is **platform independent**.
|
||||
- The JVM is specific for each platform, but the bytecode for the program remains the same across different platforms.
|
||||
- The main trade-off is the effect it has on the execution speed.
|
||||
-
|
||||
- **Next Topic:** [[Introduction to Java]]
|
||||
-
|
@ -0,0 +1,39 @@
|
||||
- #[[CT2106 - Object-Oriented Programming]]
|
||||
- No previous topic
|
||||
- **Relevant Slides:** 
|
||||
-
|
||||
- ## Definitions
|
||||
- What is a **class**? #card
|
||||
card-last-interval:: 10.24
|
||||
card-repeats:: 3
|
||||
card-ease-factor:: 2.56
|
||||
card-next-schedule:: 2022-10-13T19:29:42.373Z
|
||||
card-last-reviewed:: 2022-10-03T14:29:42.374Z
|
||||
card-last-score:: 5
|
||||
- A **class** is a type of *blueprint* or *template* from which you make objects.
|
||||
- What is an **object**? #card
|
||||
card-last-interval:: 8.8
|
||||
card-repeats:: 3
|
||||
card-ease-factor:: 2.46
|
||||
card-next-schedule:: 2022-10-15T12:29:13.252Z
|
||||
card-last-reviewed:: 2022-10-06T17:29:13.252Z
|
||||
card-last-score:: 5
|
||||
- A (Java) **object** is a self-contained component which consists of *methods* and *properties*.
|
||||
- It is a piece of code that has a **state** and has **behaviour**.
|
||||
- Often, they represent a "real-life" object.
|
||||
- An object is created by *instantiating* a **class**.
|
||||
- What is **bytecode**? #card
|
||||
card-last-interval:: 10.24
|
||||
card-repeats:: 3
|
||||
card-ease-factor:: 2.56
|
||||
card-next-schedule:: 2022-10-11T18:21:49.464Z
|
||||
card-last-reviewed:: 2022-10-01T13:21:49.465Z
|
||||
card-last-score:: 3
|
||||
- Unlike other high-level programming languages, Java code is **not** compiled into machine-specific code that can be executed by a microprocessor.
|
||||
- Instead, Java programs are compiled into **bytecode**. The bytecode is input into a **Java Virtual Machine (JVM)**, which interprets & executes the code. The JVM is usually a program itself.
|
||||
- Bytecode is **platform independent**.
|
||||
- The JVM is specific for each platform, but the bytecode for the program remains the same across different platforms.
|
||||
- The main trade-off is the effect it has on the execution speed.
|
||||
-
|
||||
- **Next Topic:** [[Introduction to Java]]
|
||||
-
|
Reference in New Issue
Block a user