Posts

Showing posts from February, 2024

2. Basic Definition and JDK installation

Image
Basic Definitions Language : It is a mode or medium of communication between two entities. Programming Language : It is a language used to command the computer or machine to perform specific tasks. Example: Java. Programmer : A human being who knows a programming language is known as a programmer. Programming : It is the process of creating a set of instructions using a programming language. This process is known as programming. Binary Language : It is a language that consists of only two characters, 0's and 1's. Binary language is the language of machines. Source Code : Source code is a file that contains sets of instructions written by a programmer using a programming language. Each source code file has its language extension. Examples: demo.java , demo.html . Byte Code : It is an intermediate file generated by the compiler. It contains some predefined sets of words that are only understandable through an intermediate software (i.e., interpreter). Byte code is given as input ...

1. Introduction to Java Programming : What is java ?

Image
What is java ? Java is a high-level, class-based, object-oriented programming language designed to minimize implementation dependencies. Its goal is to enable developers to write code once and run it anywhere (WORA), meaning that com piled Java code can execute on any platform with Java support without requiring recompilation. Why to learn java? 1) Simple - Java is designed to be easy to learn and use. Its syntax is clean and easy to understand, making it a good choice for beginners and experienced developers alike. 2) Object - Oriented:  Java follows the object-oriented programming (OOP) model, which helps break down complex programs into simpler, reusable units called objects. 3) Platform - Independent: Java programs are compiled into bytecode, which can be run on any device equipped with the Java Virtual Machine   (JVM). This makes Java platform-independent, as the same code can run on different operating systems (Windows, MacOS, Linux, etc.) without modification. 4) R...