package com.valerysamovich.java.trail.basic.variables.primitive;

public class Variables {

    public static void main(String[] args) {
        
        // variables
        int myVariable;
        myVariable = 5;
        myVariable = 10;
        
        // myVariable = myVariable + 1;
        myVariable += 1; 
        
        System.out.println(myVariable);
        
        String hello = "Hello, "; // string 
        String name = "Valery!";
        System.out.println(hello + name);

    }

}

@@ -131,32 +131,222 @@
 rgs) %7B%0A        %0A
+        /*%0A         * %22int%22  - primitive data type of java field%0A         * %22gear%22 - program field%0A         * %221%22    - initial value of field gear%0A         */%0A        int gear = 1;%0A        %0A
         // varia
@@ -499,32 +499,66 @@
 += 1; %0A        %0A
+        System.out.println(gear);%0A
         System.o

Update Primitive Data Types