Tagged: Java

Object class in java

Object class in java

The Object class, in the java.lang package, is the topmost class in java bydefault. In other words, it is the root of all the class hierarchy. You can use this class as reference of any...

Static keyword

Static keyword

static  keyword s mainly used for memory management. It can be used with variables, method,blocks and  nested class. The static keyword belongs to the class, not to the object of the class. It can...

Packages

Packages

Package in java is nothing but a kind of directory which contains a group of similar types of classes, interfaces and subpackages. Packages can be created by right click on the src folder and select...

Methods and return value

Methods and return value

Programming is considered good if it contains reusable components. By making reusable components, there will be less no. of line of code, code will look better, you don’t have to write the same functionality...

Object and Classes

Object and Classes

Object: As explained earlier in the post OOPs concept, Object can be defined as what we see around us in real world like car, pen, TV etc. It can be a physical and logical...

Naming convention in Java

Naming convention in Java

In java, when we assign name to identifiers such as class, package,method,variables etc. ,there are certain conditions which should be followed.It is not mandatory, but right way to do that. It improves the readability...

OOPs concepts in java

OOPs concepts in java

In this post, we will study about the OOPs concepts i.e. Objects oriented programming concepts. As per its name, first question comes to the mind is what is an object? What is an Object?...

Data types in Java

Data types in Java

Data types specifies the types of value and its size that can be stored in an identifier. There are 2 types of data types as given below. Primitive data types Non-Primitive/Reference data types

Variable Types in java

Variable Types in java

Variable is nothing but a name or keyword which occupies space in the memory. Variables are classified in 3 types. Local Variable Instance (or non-static) variable Static or Class variables Parameters or arguments Local...

Difference between JVM,JDK and JRE

Difference between JVM,JDK and JRE

JVM,JDK and JRE are the important points to discuss while studying java. Here, we have explained brief overview of JVM. If you want to know about it in more detail, then you can read it...