How Really Java is Platform Independent

How Really Java is Platform Independent
Probably the first thing that is written anywhere about java is that it is a platform independent language. Have you ever wondered that what is meant by platform independent? How java is platform independent? Why other programming languages lack this...

How To Execute Shell Commands and Print Results in Java

How To Execute Shell Commands and Print Results in Java
There are many ways to execute shell commands and print results in java I guess, the famous and the most used way is Runtime.getRuntime().exec you can find a good explanation for that from here. Coming to the point i am using the same way but little...

How To Make A Addition Calculator In Java Using JOption

How To Make A Addition Calculator In Java Using JOption
Okay guys today i will be teaching you how to make a simple addition calculator using Joption in java, I saw someone wrote some codes to calculate addition also it uses Java Scanner. This is that program . import java.util.Scanner; class basic_cal { ...