ข้ามไปยังเนื้อหาหลัก
หน้าหลักjava

คอร์ส

Data Types and Exceptions in Java

ระดับกลางระดับทักษะ
อัปเดตแล้ว 04/2569
Learn to work with Plain Old Java Objects, master the Collections Framework, and handle exceptions like a pro, with logging to back it all up!
เริ่มคอร์สฟรี
JavaProgramming
4 ชม.
12 วิดีโอ
40 แบบฝึกหัด
3,250 XP
3,508
ใบรับรองความสำเร็จ

สร้างบัญชีฟรีของคุณ

ดำเนินการต่อด้วย Googleแสดงตัวเลือกเพิ่มเติม

หรือ


เมื่อดำเนินการต่อ คุณยอมรับ ข้อกำหนดการใช้งาน ของเรา นโยบายความเป็นส่วนตัว ของเรา และยอมรับว่าข้อมูลของคุณจะถูกจัดเก็บในสหรัฐอเมริกา

เป็นที่รักของผู้เรียนในบริษัทหลายพันแห่ง

Group

กำลังฝึกอบรมทีม?

ลองใช้สำหรับธุรกิจ

คำอธิบายคอร์ส

Java is a powerful, widely used programming language, and understanding how it handles data is essential for writing clean, effective code. This course gives you a practical introduction to Java’s data modeling, collections, and error-handling tools.

Work with POJOs and Organize Code

Start by learning how to model data using Plain Old Java Objects (POJOs) and wrapper classes. You'll also explore how Java uses packages to group related classes and keep code organized.

Use the Collections Framework

Get to know Java’s built-in data structures—Lists, Sets, Maps, and Queues—and learn how to use them to store and manage groups of objects in different ways.

Handle Errors and Log Application Behavior

Wrap up by learning to handle exceptions using try/catch blocks and throw custom errors when needed. You’ll also add logging to your code to track and understand your program’s behavior. By the end, you’ll be able to structure data, work with Java collections, and write more reliable, maintainable applications.

ข้อกำหนดเบื้องต้น

Introduction to Object-Oriented Programming in Java
1

Advanced Java Types

This chapter explores how Java handles and organizes data. You'll learn about Java's basic data types and structures, including how to use simple Java objects, called POJOs (Plain Old Java Objects). We'll also cover wrapper classes, which let you use primitive data types as objects. Finally, you'll see how Java groups related classes into packages.
เริ่มบท
2

Collections Framework

Java’s Collections Framework gives you ready-to-use data structures for working with groups of objects. In this chapter, you’ll learn how to use Lists, Sets, Maps, and Queues to organize and manage data in different ways.
เริ่มบท
3

Exception Handling

In this chapter, you'll learn how Java handles problems using exception handling. You'll use try/catch blocks to deal with errors, throw exceptions when needed, and add logging to track what your application is doing.
เริ่มบท
Data Types and Exceptions in Java
คอร์สเสร็จสมบูรณ์

รับใบรับรองความสำเร็จ

เพิ่มใบรับรองนี้ไปยังโปรไฟล์ LinkedIn เรซูเม่ หรือ CV ของคุณ
แชร์บน social media และในการรีวิวผลการปฏิบัติงานของคุณ
ลงทะเบียนทันที

ร่วมกับผู้เรียนกว่า 19 ล้านคนและเริ่มต้น Data Types and Exceptions in Java วันนี้!

สร้างบัญชีฟรีของคุณ

ดำเนินการต่อด้วย Googleแสดงตัวเลือกเพิ่มเติม

หรือ


เมื่อดำเนินการต่อ คุณยอมรับ ข้อกำหนดการใช้งาน ของเรา นโยบายความเป็นส่วนตัว ของเรา และยอมรับว่าข้อมูลของคุณจะถูกจัดเก็บในสหรัฐอเมริกา

พัฒนาทักษะด้านข้อมูลของคุณด้วย DataCamp for Mobile

พัฒนาทักษะได้ทุกที่ทุกเวลาด้วยคอร์สเรียนบนมือถือและแบบฝึกหัดเขียนโค้ดประจำวัน 5 นาทีของเรา