• java generics

    Java Generics : Method And Constructor

    What is Java Generics? Java Generics are very useful in java program language, using generics we can customize our code and reduce size of program.   We can use same constructor and method for different types of wrapper class and data types. For better understand we will see video and example on java generics. In […]

  • Auto Boxing And Un-Boxing

    What is Auto Boxing? Two type of Auto Boxing available in Java [Store value in Wrapper Class] Integer a1 = new Integer(50); Integer a2 = 60;     What is Auto-UnBoxing? One type of Auto-UnBoxing available in Java [Store value in primitive data types using Wrapper Class] Integer a1 = new Integer(50); int x = […]

  • enum example

    Enum Example : Derive Class And Data

    What is enum in java program? Java language has many data types like primary data types, derive data types, user define data types. Enum is one derive data types in java language. Enum is also derive class, we can create derive class object and store multiple values in that derive object.   Let’s see enum […]

  • Convert Wrapper Class to Data Types

    What is Wrapper Class in Java Program? Integer, String, Double, Short, Long, Float etc are wrapper class in java programs. These classes have many important methods which are using in programming. Like convert String class value to int data types. In this step will use parseInt(StringValue) method. And this method is belongs to Integer Class. […]