






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
A comprehensive introduction to the java programming language, covering the essential concepts and constructs that every beginner programmer needs to know. It delves into the basics of variables, data types, and operations, guiding readers through the process of understanding and applying these fundamental building blocks of java. The document also explores the importance of flowcharts in planning and visualizing code execution, as well as the principles of data input and output. By the end of this resource, readers will have a solid foundation in the core elements of java programming, empowering them to take the next steps in their journey towards becoming proficient java developers.
Typology: Schemes and Mind Maps
1 / 11
This page cannot be seen from the preview
Don't miss anything!







All the basics knowledge needed for becoming a programmer
- Variables are the way the program stores the informations. These informations can be Input Data, Output Data or a Support Variable that we use to keep data while the program is doing other operations.
- All basics mathematical operations can be performed in Java(+ - / *). - Advanced operations can be used adding libraries
- calculator uses numbers and the operation we want to perform ‘11’ ‘+’ ‘12’ - The result of the operation ‘33’
- We use a flowchart before starting code so we have a better understanding of the sequence of operation we want the code to perform.
Int x;
X is an integer variables and stores 10
Y is an integer variable and stores 12
Output we give the result of x+y as output
Int x= 10;
Int y= 12;
x+y;
- Input for the calculator are numbers and the operation we want to perform ‘1’ ‘+’ ‘2’ - The output is the result of the operation ‘3’
Scanner console = new Scanner(System.in); -> lets the data inserted from console go to code int x = console.nextInt(); -> saves the integer in the variable X that sent by pressing “Enter”