Learn the basics of primitive data types in Java: int, double, char, and boolean. Then see how to store data in variables and print them out to the console. Explore more Java courses and advance your skills on LinkedIn Learning:
This is an excerpt from “Learning Java,” a course on LinkedIn Learning taught by Kathryn Hodge. Kathryn is a software developer at a media company, and runs her own YouTube channel about coding.
00:00 – Primitive data types in Java
02:16 – Sample code