Skip to content · ⁨ข้ามไปยังเนื้อหา⁩

← Learn to Code — Python, Java, C, SQL & Web · ⁨เรียนรู้การเขียนโค้ด — Python, Java, C, SQL & Web⁩

Java for AP CS A · ⁨Java สำหรับ AP CS A⁩

Java programming for the AP Computer Science A exam. · ⁨การเขียนโปรแกรม Java สำหรับข้อสอบ AP Computer Science A⁩

java 19 Lessons · ⁨บทเรียน⁩

Every lesson runs in your browser — write real code, press Run, and the tasks check themselves. Free, no account needed, with translated notes paired with English. · ⁨ทุกบทเรียนทำงานบนเบราว์เซอร์ของคุณ — เขียนโค้ดจริง กด Run และงานจะตรวจสอบตัวเองอัตโนมัติ ฟรี ไม่ต้องสมัครบัญชี พร้อมบันทึกคำแปลคู่กับภาษาอังกฤษ⁩

Start the course · ⁨เริ่มหลักสูตร⁩

Lessons in this course · ⁨บทเรียนในหลักสูตรนี้⁩

  1. history A short history of Java · ⁨ประวัติศาสตร์สั้นๆ ของ Java⁩ Reading and resources
  2. usage What Java is used for · ⁨Java ใช้ทำอะไร⁩ Reading and resources
  3. resources Where to learn more · ⁨แหล่งเรียนรู้เพิ่มเติม⁩ Reading and resources
  4. setup Set up your computer · ⁨ตั้งค่าคอมพิวเตอร์ของคุณ⁩ Reading and resources
  5. 01 Java basics: classes, main, and output · ⁨Java basics: classes, main, และ output⁩ 2 required tasks Video · ⁨วิดีโอ⁩
  6. 02 Using objects: String, Math, and wrappers · ⁨การใช้ objects: String, Math, และ wrappers⁩ 3 required tasks Video · ⁨วิดีโอ⁩
  7. 03 Booleans and selection: if/else and logic · ⁨Booleans และการเลือก: if/else และตรรกะ⁩ 3 required tasks Video · ⁨วิดีโอ⁩
  8. 04 Loops: while, for, and accumulation · ⁨Loops: while, for, และการสะสม⁩ 3 required tasks Video · ⁨วิดีโอ⁩
  9. 05 Strings and nested loops · ⁨Strings และ nested loops⁩ 3 required tasks Video · ⁨วิดีโอ⁩
  10. 06 Writing a class: fields, constructor, methods · ⁨การเขียนคลาส: ฟیلด์, คอนสตรัคเตอร์, เมทโด้⁩ 3 required tasks Video · ⁨วิดีโอ⁩
  11. 07 Encapsulation: private fields, getters, setters · ⁨Encapsulation: ฟیلด์แบบ private, getters, setters⁩ 3 required tasks Video · ⁨วิดีโอ⁩
  12. 08 1-D arrays: store, index, and traverse · ⁨1-D arrays: การเก็บข้อมูล, ดึงใช้ด้วย index, และการ遍历 (traverse)⁩ 3 required tasks Video · ⁨วิดีโอ⁩
  13. 09 Array algorithms: max, count, search, average 4 required tasks Video · ⁨วิดีโอ⁩
  14. 10 ArrayList: a list that grows · ⁨ArrayList: ลิสต์ที่ขยายขนาดได้⁩ 3 required tasks Video · ⁨วิดีโอ⁩
  15. 11 ArrayList algorithms: filter and the remove bug · ⁨ArrayList algorithms: filter และ error bug ของ remove⁩ 3 required tasks Video · ⁨วิดีโอ⁩
  16. 12 2-D arrays: working with a grid · ⁨2-D arrays: การทำงานกับตาราง⁩ 3 required tasks Video · ⁨วิดีโอ⁩
  17. 13 Searching: linear and binary · ⁨การค้นหา: Linear และ Binary⁩ 3 required tasks Video · ⁨วิดีโอ⁩
  18. 14 Sorting: selection and insertion sort · ⁨Sorting: Selection และ Insertion sort⁩ 3 required tasks Video · ⁨วิดีโอ⁩
  19. 15 Recursion: base case and recursive case · ⁨Recursion: Base case และ Recursive case⁩ 3 required tasks Video · ⁨วิดีโอ⁩
  20. 16 Text files: write and read with Scanner · ⁨ไฟล์ข้อความ: เขียนและอ่านด้วย Scanner⁩ 2 required tasks Video · ⁨วิดีโอ⁩
  21. 17 Inheritance: extends, super, and overriding · ⁨การสืบทอด (Inheritance): extends, super และการแทนที่ (overriding)⁩ 3 required tasks Video · ⁨วิดีโอ⁩
  22. 18 Polymorphism: dynamic dispatch and toString() · ⁨Polymorphism: dynamic dispatch และ toString()⁩ 3 required tasks Video · ⁨วิดีโอ⁩
  23. 19 FRQ workshop: the 4 question types · ⁨เวิร์กช็อป FRQ: ประเภทคำถามทั้ง 4⁩ 2 required tasks Video · ⁨วิดีโอ⁩

Language reference · ⁨อ้างอิงภาษา⁩

/know/reference/java

Log in or create account · ⁨เข้าสู่ระบบหรือสร้างบัญชี⁩

IGCSE, A-Level & AP