Skip to main content
HomeJava

Course

Data Types and Exceptions in Java

Intermediate
4.7+
22 reviews
Updated 05/2025
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!
Start Course for Free

Included withPremium or Teams

JavaProgramming4 hours12 videos40 Exercises3,250 XPStatement of Accomplishment

Create Your Free Account

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.
Group

Training 2 or more people?

Try DataCamp for Business

Loved by learners at thousands of companies

Course Description

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.

Prerequisites

Introduction to Object-Oriented Programming in Java
1

Advanced Java Types

Start Chapter
2

Collections Framework

Start Chapter
3

Exception Handling

Start Chapter
Data Types and Exceptions in Java
Course
Complete

Earn Statement of Accomplishment

Add this credential to your LinkedIn profile, resume, or CV
Share it on social media and in your performance review

Included withPremium or Teams

Enroll now

Don’t just take our word for it

*4.7
from 22 reviews
73%
27%
0%
0%
0%
  • Isaac
    about 12 hours

  • Issraa
    about 17 hours

  • Dmitry
    2 days

  • A.T.M. Mokhlesur Rahman
    2 days

    It's so helpful to learn Java easily

  • Victor
    3 days

  • Hector
    about 23 hours

Isaac

Issraa

Dmitry

FAQs

Join over 16 million learners and start Data Types and Exceptions in Java today!

Create Your Free Account

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.