Wrapper Classes And Other Classes Of java.lang Package


Boolean Wrapper Class

Convert Java Boolean object to boolean primitive example

Convert java Boolean object to String object Example

Convert Java boolean Primitive to Boolean object

Convert Java String Object to Boolean Object

Java Boolean Example

Byte Wrapper Class

Convert Byte object to String object

Convert byte to Byte object Example

Convert Byte to numeric primitive data types example

Convert Java String to Byte example

Convert String to primitive byte Example

Java Byte Example

Double Wrapper Class

Convert Double object to String object

Convert java double to Double object Example

Convert java Double to numeric primitive data types example

Convert Java String to Double example

Java Double compare example

Java Double Example

Java Double isInfinite example

Java Double isNaN method example

Float Wrapper Class

Convert Java Float Object to String Object Example

Convert Java float Primitive Value to Float Object Example

Convert Java Float to Numeric Primitive Data Types Example

Convert Java String to Float Object Example

Java Float Compare Example

Java Float isInfinite Method Example

Java Float isNaN Method Example

Java Float Wrapper Class Example

Integer Wrapper Class

Convert Integer to Java String object

Convert java int to Integer object Example

Convert Java Integer object to Numeric primitive types

Convert Java String to Integer object Example

Convert String to java int Example

Simple Java Integer Example

Long Wrapper Class

Convert Java String to Long example

Convert Long object to String object

Convert long primitive to Long object Example

Convert Long to numeric primitive data types example

Convert String to long Example

Java Long Example

Math Class

Find absolute value of float, int, double and long using Math.abs

Find ceiling value of a number using Math.ceil

Find exponential value of a number using Math.exp

Find floor value of a number using Math.floor

Find maximum of two numbers using Math.max

Find minimum of two numbers using Math.min

Find natural logarithm value of a number using Math.log

Find power using Math.pow

Find square root of a number using Math.sqrt

Generate random numbers using Math.random

Round Java float and double numbers using Math.round

Short Wrapper Class

Convert Java String to Short example

Convert Short object to String object

Convert short primitive to Short object Example

Convert Short to numeric primitive data types example

Convert String to short primitive Example

Java Short Example