Java-46-Wrapper Classes in Java || Java Programming Tutorial

113 Просмотры
Издатель
What is wrapper class ?
Wrapper classes are the set of classes located in java.lang package which are used to convert the primitive data types to object types.
They are called wrapper because they wrap around the primitive type & returns object representation of primitive type.
Wrapper Classes are easier to remember as they named a lot like the primitive types.

Here are some wrapper classes corresponding to their primitive types.

Wrapper Class Primitive Type
Boolean boolean
Character char
Integer int
Long long
Float float
Double double

Hey ! Thanks for watching my video..
for more you can also visit my -

twitter: https://twitter.com/rapid_tutor

facebook: https://www.facebook.com/RapidTutor-106765660738888/

Keep Learning Keep Growing with Rapid Tutor..
#WrapperClass #WrapperClassesInJava #JavaProgramming
Категория
Язык программирования Java
Комментариев нет.