We have to first understand JAVA before start learning. JAVA IS A PURE OBJECT-ORIENTED PROGRAMMING LANGUAGE. In this blog, I will focus only on main points, rest of story would be available on the web. Brief Introduction to Java JAVA was initially developed by Sun Microsystems Inc in 1991, later acquired by Oracle Corporation.Read More
Basic
Basic Java – 2 || Variables and Data Types used in JAVA.
As the name sounds “Vary+able”, means the value can be changed. Basically, the variable is the name of the memory location which is used to store and retrieve the value in it. Related Links: OOPs Concept: Java Question And Answer: Definition and Types of Variable Read More
Basic Java – 3 || Understanding Class, Objects, Methods in Java.
A Class is like a repository which contains all data members and methods. On the other hand, an Object is an instance of a class which acquires all the properties(data members) and behavior(methods) of the class. Related Links: OOPs Concept: Java Question And Answer: Method Read More
Basic Java – 4 || More on methods(Return Type and Parameters)
There are two main key functions for methods. Parameters and Return Type. If we talk about Parameters, these are the inputs for the methods. On the basis of these inputs methods performs any action. Once all the steps get executed mentioned within the block of a method, the output ofRead More
Basic Java – 5 || Methods- Call by Value and Call by Reference in Java.
There are two ways to call a method or we can say there are two ways to passing input parameters via a method. Call by value and Call by reference. However, I have done research on the web and found that JAVA only Supports Call by Value and not Call by Reference. But I thinkRead More
Basic Java – 6 || Understanding of Constructor and Destructor in JAVA.
The basic meaning of Constructor is making or building something and Destructor means destroying or releasing something. So, technically, Constructor allocates memory to the variables for specific instance which have been created at any point in time. On the other hand, Destructor deallocates memory or releases the memory afterRead More
Basic Java – 7 || Static Variables and Methods.
The synonyms of static, is unchangeable or fixed, means value doesn’t get change from external behaviors. In Java, static variables and methods can be called directly using the class name without creating any object. In other words, the static keyword used to define a method orRead More
Basic Java – 8 || Lets learn about Arrays in Java.
In general, “array” means an arrangement of similar things in a particular way. On the other hand, we can say the arrays in Java is grouping the things having same features. In Java programming, the array is used to store multiple values in aRead More
Basic Java – 9 || Performing multiple operations using Java Operators.
Java Operators used to perform data manipulation while programming. Although there are multiple Class and Methods present in the Java library to perform such operations. We have some java operators which are used to perform basic calculation and operations. Operation Types Arithmetic Operations: To perform the basic calculation on numericRead More
Basic Java – 10 || Conditions (If and Switch) in JAVA.
To create a robust and error-free program we need to perform an action based on the certain conditions. In Java, this can be achieved using If and Switch statements. These statements are called conditional statements in JAVA. If-else Statement Let’s understand first If statement. An ifRead More