Unit I. Basic Syntactical Constructs in Java

Chapter-1. Basic Syntactical Constructs in Java Syllabus: 1.1 Java features and the Java programming environment 1.2 Defining a class, creating object, accessing class members 1.3 Java tokens and data types, symbolic constant, scope of variable, typecasting, and different types of operators and expressions, decision making and looping statements 1.4 Arrays, strings, string buffer classes, vectors, wrapper classes 1.5 Constructors and methods, types of constructors, method and constructor overloading, nesting of methods, command line arguments, garbage collection, visibility control: public, private, protected, default, private protected 1.1 Java features and the Java programming environment 1.1.1 Features of java 1) Platform Independence (Write Once, Run Anywhere): There are several platform such as windowsOS, macOS, linuxOS, etc, but java is platform independent meaning if the Java Virtual Machine (JVM) is installed on both Wind...