Category: Java

Java Lesson Understanding Variable Scope

public class TestScope { public static void main (String argv) {                int x; // ———————-> X Exist until Closing bracket                // Understanding Scope for x               {               char y;                x = 15; // Notice we can access x here                y = 65;               System.out.println (“The Sum of x + y

Learning Java . Fast Track BootCamp 1.

Welcome To Learning Java BootCamp 1 Tutorial By skraito. 1. What is Java. Java is object oriented programming language that allow programmer to write once and run everywhere. This accomplish by compiling the code and run it using JVM ( Java Virtual Machine ). JVM is the one that run the bytecode compiled.