Lesson 11 Data types Java's int primitive type

Опубликовано: 18 Март 2026
на канале: pcpwj - programação com programming with João
14
1

#java #tutorial #programming #programmers #programação
#titorial #computerscience #computerknowledge #geeks

Welcome to Lesson 11 on Java int data type.
In this lesson we look at the bit structure of the int.
We also look at the the different formats an integer literal can
be expressed in,- namely the decimal, binary, octal and hexadecimal
formats.

We will do the following
1. declare a variable of type int.
2. initialize that variable with a value
3. use binary,octal and hexadecimal literals in an int
4. assigning a byte and a short to an int
5. overflow and a quick "glimpse" at the long data type

6. a mixed example of a byte, short and an int


Video Link -    • Lesson 11   Data types   Java's int primit...  
YouTube channel link -    / @pcpwjoao  
Playlist Link -    • A greenhorn's guide to Java  
source code - https://www.dropbox.com/sh/h6ajzu9ae9...