Wrapper classes in java with easy explanation.

Wrapper class  is a mechanism which provides the facility to convert primitive data type into the object and object into primitive data type. Java 5 provides the two features: 1.Autoboxing 2. Unboxing 1.Autoboxing Automatic conversion of  primitive data type into an object then this process is known as autoboxing. 2.Unboxing Automatic conversion of  an object … Read more Wrapper classes in java with easy explanation.

Java exception handling with easy explanation

Exception handling in java is a very important topic.Exception is an error which disrupt the normal flow of execution of the program. Java provides the robust mechanism to handle this type of error known as Exception handling. What is Exception handling ? Exception handling is a mechanism which is used to handle run time errors … Read more Java exception handling with easy explanation

Java abstract class and interface with easy explanation

In this tutorial,we will learn about the java abstract class and interface with easy explanation step by step & also what is the difference between an abstract class and interface.  Before learning the abstract class in java,we try to understand abstraction in java first. Abstraction in java It is the process of hiding the internal … Read more Java abstract class and interface with easy explanation

Java constructor tutorial with easy explanation

What do you mean by constructor ? A constructor is a special type of method which is used to initialize an object. Every class contains at least one constructor if we do not create any constructor then compiler  creates by default constructor. It does not have any return type. Object can be created with the … Read more Java constructor tutorial with easy explanation

Java String tutorial with easy explanation

What do you mean by string in java ? Strings are a sequence of characters,but in a java strings are treated as objects It is terminated with the help of null character ie ‘\0’. It is the sequence of array of character. Syntax: <String> str_variable=”string_name”; Example String name=”hello”; Or Ch ch[ ]={‘h’,’e’,’l’,’l’,’o’}; String str=new String(ch); … Read more Java String tutorial with easy explanation

Java method overloading & method overriding with easy explanation

In this tutorial,we will learn about the  java method overloading and method overriding step by step. Method Overloading When the class contains multiple methods with the same name but different parameter then it is known as method overloading. It increases the code readability and save time. How can achieve method overloading 1.By changing the number … Read more Java method overloading & method overriding with easy explanation

Java if-else statement,loops,switch,break,continue and comment with easy explanation.

In this tutorial, we will learn about the control flow of the java such as if-else statement,loops,switch,break,continue and comment etc step by step. What is control flow statement ? Control flow statements are used to evaluate  or terminate the flow of execution of the program with the help of decision making statement,loops and branching statement … Read more Java if-else statement,loops,switch,break,continue and comment with easy explanation.

Java variables,Data types,Keywords,Operators with easy explanation

Today we will learn about the variables,data types,keywords and operators.These are the basic building blocks of java which is used to perform the different operations. Java variables Variables are the container which holds the value into the memory. Variables are something which provides the way in which we can store the value into the memory. … Read more Java variables,Data types,Keywords,Operators with easy explanation

Introduction Of JAVA With Easy Explanation

Today’s world peoples are the crazy of applications like Facebook,Instagram etc.so if you want to develop application then you must have knowledge about programming language. Android applications are mostly developed by the java programming language using android SDK(software development kit).Using the other programming language like C/C++ also can develop the android application.But java is most … Read more Introduction Of JAVA With Easy Explanation