Author: misamaliraza94

  • Basic Datatypes

    Variables are nothing but reserved memory locations to store values. This means that when you create a variable you reserve some space in the memory. Based on the data type of a variable, the operating system allocates memory and decides what can be stored in the reserved memory. Therefore, by assigning different data types to…

  • Constructors

    A constructor initializes an object when it is created. It has the same name as its class and is syntactically similar to a method. However, constructors have no explicit return type. Typically, you will use a constructor to give initial values to the instance variables defined by the class, or to perform any other start-up…

  • Object and Classes

    In this chapter, we will look into the concepts – Classes and Objects. Object − Objects have states and behaviors. Example: A dog has states – color, name, breed as well as behaviors – wagging the tail, barking, eating. An object is an instance of a class. Class − A class can be defined as a template/blueprint…

  • Basic Syntax

    About Java programs, it is very important to keep in mind the following points. Case Sensitivity − Java is case sensitive, which means identifier Hello and hello would have different meaning in Java. Class Names − For all class names the first letter should be in Upper Case. If several words are used to form a name of the class, each…

  • History of Java

    James Gosling initiated Java language project in June 1991 for use in one of his many set-top box projects. The language, initially called ‘Oak’ after an oak tree that stood outside Gosling’s office, also went by the name ‘Green’ and ended up later being renamed as Java, from a list of random words. Sun released…

  • Applications of Java Programming

    The latest release of the Java Standard Edition is Java SE 8. With the advancement of Java and its widespread popularity, multiple configurations were built to suit various types of platforms. For example: J2EE for Enterprise Applications, J2ME for Mobile Applications. The new J2 versions were renamed as Java SE, Java EE, and Java ME…

  • Why to Learn java Programming?

    Java is a MUST for students and working professionals to become a great Software Engineer specially when they are working in Software Development Domain. I will list down some of the key advantages of learning Java Programming: Object Oriented − In Java, everything is an Object. Java can be easily extended since it is based on…

  • Java is used for

    Mobile applications (specially Android apps) Desktop applications Web applications Web servers and application servers Games Database connection And much, much more!

  • Introduction

    Java is a high-level programming language originally developed by Sun Microsystems and released in 1995. Java runs on a variety of platforms, such as Windows, Mac OS, and the various versions of UNIX. This tutorial gives a complete understanding of Java. This reference will take you through simple and practical approaches while learning Java Programming…

  • Installation by images

    Step 1: Step 2: Step 3 : Step 4: Step 5: Write the following in the command line (cmd.exe): C:\Users\Your Name>java -version If Java was successfully installed, you will see something like this (depending on version): java version “11.0.1” 2018-10-16 LTSJava(TM) SE Runtime Environment 18.9 (build 11.0.1+13-LTS)Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.1+13-LTS, mixed…