How To Take Input From User In java

In this tutorial, I am going to show you how to take input from user in java using two different ways. You can follow any method according to your convenience. To understand how we get input from user in java we first must know of the following two things : System.out – Java uses System.out […]

Read more
Java Naming Conventions

package conventions; class JavaNamingConventions { static final double PI_VALUE = 3.14; static int circleRadius = 10; public static void circleArea() { System.out.println(“Circle Area: ” + (PI_VALUE * circleRadius * circleRadius)); } public static void main(String args[]) { // method circleArea() is of static type so we do not need to create an object circleArea(); } […]

Read more
How System.out.println() Works In Java

Meaning of System.out.println() System : System is a class which is in java.lang package java.lang.Object java.lang.System The above code means that System class which is in java.lang package extends Object class which is also in java.lang package or System is a subclass of Object class. The Object is the root of the class hierarchy. Every […]

Read more
Best Way To Learn Java Programming

This site is for those who are completely new to java programming or you can say java programming for dummies. I am not an expert in java programming but yes I can try to explain the very basics of java. Please do not depend on this site to completely learn java programming as here I […]

Read more