Myvideo

Guest

Login

Primitive data types & A wrapper class in Java #2 -

Uploaded By: Myvideo
0 views
0
0 votes
0

- What are Autoboxing and Unboxing? Autoboxing and Unboxing is the process of automatic wrapping (putting in a box) and unwrapping (getting the value out) of primitive data types, that have “wrapper“ classes. So int and Integer can (almost always) be used interchangeably in Java language, meaning a method void giveMeInt(int i) { ... } can take an int as well as Integer as a parameter. - Can you list 8 primitive types in java? byte short int long float double char String boolean

Share with your friends

Link:

Embed:

Video Size:

Custom size:

x

Add to Playlist:

Favorites
My Playlist
Watch Later