Java wrapper classes 🎁

preview_player
Показать описание
Java wrapper classes tutorial explained

#Java #wrapper #classes

public class Main {

public static void main(String[] args) {

// wrapper class = provides a way to use primitive data types as reference data types
// reference data types contain useful methods
// can be used with collections (ex.ArrayList)

//primitive //wrapper
//--------- //-------
// boolean Boolean
// char Character
// int Integer
// double Double

// autoboxing = the automatic conversion that the Java compiler makes between the primitive types and their corresponding object wrapper classes
// unboxing = the reverse of autoboxing. Automatic conversion of wrapper class to primitive

Boolean a = true;
Character b = '@';
Integer c = 123;
Double d = 3.14;

}

}
Рекомендации по теме
Комментарии
Автор

public class Main {

public static void main(String[] args) {

// wrapper class = provides a way to use primitive data types as reference data types
data types contain useful methods
be used with collections (ex.ArrayList)

//primitive //wrapper

// boolean Boolean
// char Character
// int Integer
// double Double

// autoboxing = the automatic conversion that the Java compiler makes between the primitive types and their corresponding object wrapper classes
// unboxing = the reverse of autoboxing. Automatic conversion of wrapper class to primitive

Boolean a = true;
Character b = '@';
Integer c = 123;
Double d = 3.14;

}

}

BroCodez
Автор

I've been taking an online course in OOP Java and your videos are way more helpful than my professor and his book

hennykrvtz
Автор

This is the best Java tutorial for beginners, so you can learn Java and English in one hit. Please keep going! I vote for Java advance tutorial. Thanks a lot Bro

pavelkvasnicka
Автор

You are brilliant, thanks man. I couldn't even begin to wrap my head around this topic before, but now it makes a lot more sense. I really appreciate your work.

chrisbird
Автор

Thank you bro, I'm Spanish and I understand everything. It's better than other videos in Spanish.

OsomWay
Автор

Was reading my textbook and confused as hell as to what the point is for wrapper classes. This simplified it beautifully.

hamzaquadri
Автор

I have never seen anyone teach as good as you, excellent

huyngou
Автор

Bro, I really appreciate your videos!
You've helped me a lot.
May God bless you!

mohamadnazirissumalgy
Автор

great video!!! I'm infinitely grateful for your dedication and big heart to share this knowledge with the world. Thank you soo much

dianamilenaarchilacordoba
Автор

Best Professor Ever Seen! Bro Could You Drop For Like Game Development Cources

GamingwithAkash
Автор

Thanks for the lessons. Great explanation of everything.

yevgenomelchenko
Автор

Excellent explanation! Concise, clear, and the videos are sensibly arranged. Great for beginners or someone transitioning to Java from another programming language.

darijanavric
Автор

Bro, you make it so much easier to understand OCA
Thank you

JochemCraen
Автор

cool, most of my if else conditions working fine after knowing this topic. thank bro )))

macbooknov
Автор

This is the comment which is going to save the channel!




Just kidding, channel needs no saving. It's absolute beast house! Lovely work. Thank you for educating us!

draxanomourad
Автор

How can we thank and award you for this amazing content! :D

enigmatimson
Автор

God mode on bro code best short precise concise content on youtube love and respect from india

sj
Автор

Thanks bro. Got what i need. Go to 4 min if impatient

kabirkrishna
Автор

this is the best channel that explains Java

mohamedfathi
Автор

you're always the answer to my programing problems <3 thanks dude <3

unlockme