Enviar búsqueda
Cargar
Java - TA課 - Array
•
0 recomendaciones
•
326 vistas
Redhung @ Nationtal Chung Cheng University, Chiayi, Taiwan.
Seguir
TA lesson in National Chung Cheng University
Leer menos
Leer más
Software
Denunciar
Compartir
Denunciar
Compartir
1 de 15
Descargar ahora
Descargar para leer sin conexión
Recomendados
The ruby way iii
The ruby way iii
Deng Peng
第08章 查找(java版)
第08章 查找(java版)
Yan Li
Erlang抽象数据结构简介
Erlang抽象数据结构简介
Xiaozhe Wang
Trie树分享
Trie树分享
Wu Liang
My visual basic入門指引 4
My visual basic入門指引 4
Xavier Chou
Windows Offender_ Reverse Engineering Windows Defender's Antivirus Emulator
Windows Offender_ Reverse Engineering Windows Defender's Antivirus Emulator
Redhung @ Nationtal Chung Cheng University, Chiayi, Taiwan.
AEG_ Automatic Exploit Generation
AEG_ Automatic Exploit Generation
Redhung @ Nationtal Chung Cheng University, Chiayi, Taiwan.
Unleashing MAYHEM On Binary Code
Unleashing MAYHEM On Binary Code
Redhung @ Nationtal Chung Cheng University, Chiayi, Taiwan.
Recomendados
The ruby way iii
The ruby way iii
Deng Peng
第08章 查找(java版)
第08章 查找(java版)
Yan Li
Erlang抽象数据结构简介
Erlang抽象数据结构简介
Xiaozhe Wang
Trie树分享
Trie树分享
Wu Liang
My visual basic入門指引 4
My visual basic入門指引 4
Xavier Chou
Windows Offender_ Reverse Engineering Windows Defender's Antivirus Emulator
Windows Offender_ Reverse Engineering Windows Defender's Antivirus Emulator
Redhung @ Nationtal Chung Cheng University, Chiayi, Taiwan.
AEG_ Automatic Exploit Generation
AEG_ Automatic Exploit Generation
Redhung @ Nationtal Chung Cheng University, Chiayi, Taiwan.
Unleashing MAYHEM On Binary Code
Unleashing MAYHEM On Binary Code
Redhung @ Nationtal Chung Cheng University, Chiayi, Taiwan.
Firmadyne
Firmadyne
Redhung @ Nationtal Chung Cheng University, Chiayi, Taiwan.
Fintech Newebpay API using Flask and VueJS
Fintech Newebpay API using Flask and VueJS
Redhung @ Nationtal Chung Cheng University, Chiayi, Taiwan.
TA-java-method-109
TA-java-method-109
Redhung @ Nationtal Chung Cheng University, Chiayi, Taiwan.
TA Lesson Web-109
TA Lesson Web-109
Redhung @ Nationtal Chung Cheng University, Chiayi, Taiwan.
TA Lesson Binary Exploitation (Pwn)
TA Lesson Binary Exploitation (Pwn)
Redhung @ Nationtal Chung Cheng University, Chiayi, Taiwan.
Reverse Engineering - Assembly & Introduction
Reverse Engineering - Assembly & Introduction
Redhung @ Nationtal Chung Cheng University, Chiayi, Taiwan.
TA Lesson3 - Method
TA Lesson3 - Method
Redhung @ Nationtal Chung Cheng University, Chiayi, Taiwan.
Web Introduction
Web Introduction
Redhung @ Nationtal Chung Cheng University, Chiayi, Taiwan.
Java - TA課 - Let's Begin
Java - TA課 - Let's Begin
Redhung @ Nationtal Chung Cheng University, Chiayi, Taiwan.
Java - TA課 - 開發環境
Java - TA課 - 開發環境
Redhung @ Nationtal Chung Cheng University, Chiayi, Taiwan.
IoT Penetration Talk
IoT Penetration Talk
Redhung @ Nationtal Chung Cheng University, Chiayi, Taiwan.
Introduction to computer network
Introduction to computer network
Redhung @ Nationtal Chung Cheng University, Chiayi, Taiwan.
Assembly Language Redhung ( x86 ) @ TDOH
Assembly Language Redhung ( x86 ) @ TDOH
Redhung @ Nationtal Chung Cheng University, Chiayi, Taiwan.
TP-Link SR20 Zero-day attack
TP-Link SR20 Zero-day attack
Redhung @ Nationtal Chung Cheng University, Chiayi, Taiwan.
滲透測試入門 Penetration test - white hat hacking introduction
滲透測試入門 Penetration test - white hat hacking introduction
Redhung @ Nationtal Chung Cheng University, Chiayi, Taiwan.
Más contenido relacionado
Más de Redhung @ Nationtal Chung Cheng University, Chiayi, Taiwan.
Firmadyne
Firmadyne
Redhung @ Nationtal Chung Cheng University, Chiayi, Taiwan.
Fintech Newebpay API using Flask and VueJS
Fintech Newebpay API using Flask and VueJS
Redhung @ Nationtal Chung Cheng University, Chiayi, Taiwan.
TA-java-method-109
TA-java-method-109
Redhung @ Nationtal Chung Cheng University, Chiayi, Taiwan.
TA Lesson Web-109
TA Lesson Web-109
Redhung @ Nationtal Chung Cheng University, Chiayi, Taiwan.
TA Lesson Binary Exploitation (Pwn)
TA Lesson Binary Exploitation (Pwn)
Redhung @ Nationtal Chung Cheng University, Chiayi, Taiwan.
Reverse Engineering - Assembly & Introduction
Reverse Engineering - Assembly & Introduction
Redhung @ Nationtal Chung Cheng University, Chiayi, Taiwan.
TA Lesson3 - Method
TA Lesson3 - Method
Redhung @ Nationtal Chung Cheng University, Chiayi, Taiwan.
Web Introduction
Web Introduction
Redhung @ Nationtal Chung Cheng University, Chiayi, Taiwan.
Java - TA課 - Let's Begin
Java - TA課 - Let's Begin
Redhung @ Nationtal Chung Cheng University, Chiayi, Taiwan.
Java - TA課 - 開發環境
Java - TA課 - 開發環境
Redhung @ Nationtal Chung Cheng University, Chiayi, Taiwan.
IoT Penetration Talk
IoT Penetration Talk
Redhung @ Nationtal Chung Cheng University, Chiayi, Taiwan.
Introduction to computer network
Introduction to computer network
Redhung @ Nationtal Chung Cheng University, Chiayi, Taiwan.
Assembly Language Redhung ( x86 ) @ TDOH
Assembly Language Redhung ( x86 ) @ TDOH
Redhung @ Nationtal Chung Cheng University, Chiayi, Taiwan.
TP-Link SR20 Zero-day attack
TP-Link SR20 Zero-day attack
Redhung @ Nationtal Chung Cheng University, Chiayi, Taiwan.
滲透測試入門 Penetration test - white hat hacking introduction
滲透測試入門 Penetration test - white hat hacking introduction
Redhung @ Nationtal Chung Cheng University, Chiayi, Taiwan.
Más de Redhung @ Nationtal Chung Cheng University, Chiayi, Taiwan.
(15)
Firmadyne
Firmadyne
Fintech Newebpay API using Flask and VueJS
Fintech Newebpay API using Flask and VueJS
TA-java-method-109
TA-java-method-109
TA Lesson Web-109
TA Lesson Web-109
TA Lesson Binary Exploitation (Pwn)
TA Lesson Binary Exploitation (Pwn)
Reverse Engineering - Assembly & Introduction
Reverse Engineering - Assembly & Introduction
TA Lesson3 - Method
TA Lesson3 - Method
Web Introduction
Web Introduction
Java - TA課 - Let's Begin
Java - TA課 - Let's Begin
Java - TA課 - 開發環境
Java - TA課 - 開發環境
IoT Penetration Talk
IoT Penetration Talk
Introduction to computer network
Introduction to computer network
Assembly Language Redhung ( x86 ) @ TDOH
Assembly Language Redhung ( x86 ) @ TDOH
TP-Link SR20 Zero-day attack
TP-Link SR20 Zero-day attack
滲透測試入門 Penetration test - white hat hacking introduction
滲透測試入門 Penetration test - white hat hacking introduction
Java - TA課 - Array
1.
ARRAY TA LESSON @
108-1 JAVA
2.
OUTLINE ‣ Java’s array ‣
ArrayList vs. Array ‣ Demo ‣ Hw2 (Lab)
3.
JAVA’S ARRAY
4.
JAVA’S ARRAY ARRAY ▸ 陣列列最常⽤用來來儲存資料 ▸
常⾒見見的型態有⼀一維陣列列、⼆二維陣列列 ▸ Java宣告陣列列的⽅方式為 ▸ int[] array1 = new int[10]; ▸ double[][] array2 = new double[10][3];
5.
JAVA’S ARRAY ARRAY REFERENCE ▸
Java中的陣列列宣告 -> int[] array1 為⼀一個 object ▸ 所以 array2 = array1 會讓 array2 指向 array1 所在的位置 ▸ 正確的複製⽅方法為 ▸ array2 = Array.copyOf(array1, array1.length()); ▸ for(int i=0;i<array1.length();i++) ▸ array2[i] = array1[i];
6.
ARRAYLIST VS. ARRAY
7.
ARRAYLIST VS. ARRAY ARRAYLIST ▸
ArrayList 是 Java.util 裡內含的package ▸ ArrayList的優點在於彈性佳、可以⾃自由控制陣列列⼤大⼩小、增減 ▸ 相比Array我們必須在宣告陣列列時就宣告好⼤大⼩小,ArrayList可 以做到⾃自由增減陣列列內容,⼗十分具有彈性 ▸ 因此在進⾏行行未知數⽬目的陣列列操作時,我們可以選⽤用ArrayList
8.
ARRAYLIST VS. ARRAY ARRAYLIST
METHOD ▸ ArrayList<int> arraylist = new ArrayList<int>(); ▸ arraylist.add() ▸ 增加⼀一個物品⾄至arraylist裡 ▸ arraylist.remove() ▸ 從arraylist裡移除⼀一個物品 ▸ arraylist.set(), arraylist.get(), etc.
9.
DEMO
10.
HW2(LAB)
11.
HW2(LAB) HW2
12.
不理解寫這個的⽤意︖ 我們來看個例⼦就知道了
13.
HW2(LAB) 以開源的楓之⾕私服為例
14.
HW2(LAB) LAB(有時間的話) 1. 請完成⼀一個Monster Class內含String
name, int hp 2. 寫⼀一個constructor來來初始化怪物 3. 寫⼀一個getter來來讓main function正常取得怪物資訊 4. 寫⼀一個setter來來讓main function正常設定怪物資訊 5. ⾃自⼰己寫⼀一個Main Class內含main function來來執⾏行行Monster
15.
Q&A
Descargar ahora