Today we will learn how to use the switch case in java. Switch case is another conditional block in java, where we want to execute certain instructions based on a condition
Today we are going to learn how to use if else in java. Just like in real life, in programming as well we want to execute a certain line of code when a certain condition fulfills, and if not then we want to execute something else. For such cases, we use the if-else statement in…
In our Java series today I am going to discuss How to take input in java. There is actually more than one way to take input in java, Let’s see them one by one.
Operators are a symbol that defines an operation which happens on one or more operands. There are many operators in java. Let’s understand them one by one
Methods are building blocks of any java program. Here in this post, I am going to tell you everything about methods in java
Variables are placeholders that hold a value. We need variables to store and manipulate values. Let’s disccuss how to use variables in java
In every language, there are few reserve words. These reserve words are called keywords. In this post, we are going to learn about java keywords. Since these keywords are reserved, we can not use the words to name our variables, classes, interface, etc. The name which we use for naming variables, classes, etc is called…
Let’s Discuss what is object oriented programming, what are its features, and why it is better than a procedural programming language.
Hello World in java is most basic java program. Here I will teach how to compile and execute a java class using notepad and terminal
Let’s see how to install java in Linux in just 3 steps. For java Development, you need a JDK and not JRE. There’s a huge difference between JRE and JDK. So when I say installing java in this tutorial, I mean installing JDK. Installing java in Linux is quite simple. Follow the below steps: How…