Chapter 2 (Part 1) Elementary Programming

Опубликовано: 24 Октябрь 2024
на канале: Romer Ian Pasoc
684
17

Topics Covered:
Write Java programs to perform simple computations
Obtain input from the console using the Scanner class
Use identifiers to name variables, constants, methods, and classes
Use variables to store data
Program with assignment statements and assignment expressions
Use constants to store permanent data
Name classes, methods, variables, and constants by following their naming conventions
Explore Java numeric primitive data types: byte, short, int, long, float, and double
Read a byte, short, int, long, float or double value from the keyboard
Perform operations using operators +, -, *, /, and %
Perform exponent operations using Math.pow(a, b)