No video

#60 Wrapper Class in Java

  Рет қаралды 171,103

Telusko

Telusko

Күн бұрын

Check out our courses:
Enterprise Java Spring Microservices: go.telusko.com...
Coupon: TELUSKO10 (10% Discount)
Master Java Spring Development : go.telusko.com...
Coupon: TELUSKO20 (20% Discount)
For More Queries WhatsApp or Call on : +919008963671
Udemy Courses:
Spring: go.telusko.com...
Java:- go.telusko.com...
Java Spring:- go.telusko.com...
Java For Programmers:- go.telusko.com...
Python : go.telusko.com...
Git : go.telusko.com...
Docker : go.telusko.com...
website : courses.telusk...
In this lecture we are discussing about wrapper class:
if you want to store integer value you store in int
java provide primitive data type
thats why java is 99.9 % object oriented programming
primitive data types helps us to improve the performance
but certain feature are work only when we work with objects
for collection framework -- we need non primitive type data as input
byte -Byte
int - Integer
long -Long
char- Character
double -Double
float -Float
boolean -Boolean
Boxing:It is manual method to convert primitive type data into non-primitive type .
e.g
int num=7;
Integer num1=new Integer(8); //boxing
UnBoxing: It is manual method to convert non-primitive data type to primitive type.
e.g
int num2=num1.intValue(); //unboxing
AutoBoxing:It is automatic conversion of primitive type data into non-primitive data type.
int num3=5;
Integer num4=num3; //autoboxing
AutoUnBoxing:It is automatic conversion of non primitive type data into primitive data type.
int num5=num4; //autounboxing
int num=7;
how to store data as Object
Integer num1=new Integer(8); //this syntax is depreciated
Integer num1=Integer.valueOf(8); //Now we use this syntax
Integer num1=8; //autoboxing
int num2=num1.intValue();//unboxing
int num3=num1; //autounboxing
--convert string into int type using parseInt
String str="12";
int num4=Integer.parseInt(str);
--Convert number into String
String str1=Integer.toString(23); //convert number into string
Github repo : github.com/nav...
Instagram : / navinreddyofficial
Linkedin : / navinreddy20
Discord : / discord
Java:- bit.ly/JavaUde...
Spring:- bit.ly/SpringU...
More Learning :
Java :- bit.ly/3x6rr0N
Python :- bit.ly/3GRc7JX
Django :- bit.ly/3MmoJK6
JavaScript :- bit.ly/3tiAlHo
Node JS :- bit.ly/3GT4liq
Rest Api :-bit.ly/3MjhZwt
Servlet :- bit.ly/3Q7eA7k
Spring Framework :- bit.ly/3xi7buh
Design Patterns in Java :- bit.ly/3MocXiq
Docker :- bit.ly/3xjWzLA
Blockchain Tutorial :- bit.ly/3NSbOkc
Corda Tutorial:- bit.ly/3thbUKa
Hyperledger Fabric :- bit.ly/38RZCRB
NoSQL Tutorial :- bit.ly/3aJpRuc
Mysql Tutorial :- bit.ly/3thpr4L
Data Structures using Java :- bit.ly/3MuJa7S
Git Tutorial :- bit.ly/3NXyCPu
Donation:
PayPal Id : navinreddy20
www.telusko.com

Пікірлер: 55
@Wisdomizer
@Wisdomizer Жыл бұрын
It can help us understand, the important question in the interview - Difference between primitive type variable and a wrapper class for ex. int and Integer.
@user-wz8vw4bl3r
@user-wz8vw4bl3r 6 ай бұрын
so, how can you differentiate in one single line?
@zomssingh8744
@zomssingh8744 5 ай бұрын
​@@user-wz8vw4bl3ra class who wrap primitives into objects form Or Predefined class of java which contains primitive data type
@gowthamivallabhadasu2523
@gowthamivallabhadasu2523 5 ай бұрын
@@user-wz8vw4bl3r As per my understanding, if you want to store simple values, use primitive. But when you want to leverage OOPS or take advantage of OOPS, use wrapper classes. The memory usage of primitive is smaller. for example int is 4 bytes. but Integer is an object so it occupies some good amount of space in the heap memory. You must use Wrapper classes when working with collections.
@bijenadhikari
@bijenadhikari Жыл бұрын
My one and only programming teacher in the world. Love from Nepal
@zr0724
@zr0724 Жыл бұрын
these are much better than the old ones , i love them , these are short and much fun to watch
@divyavats5303
@divyavats5303 4 ай бұрын
ofcourse
@anudeepthodupunoori7115
@anudeepthodupunoori7115 Жыл бұрын
I asked chatGPT to suggest good youtube channel to learn python and it shows your channel in top 5 .. 👏👏 But i already learned python from ur channel 😂
@NANDA-gq2wi
@NANDA-gq2wi 7 ай бұрын
i got the joke
@aswiniavula8573
@aswiniavula8573 23 күн бұрын
what is the tool name that you are using
@Sedeerah
@Sedeerah Жыл бұрын
This is gold. Thank you!
@nikhilagrawal9217
@nikhilagrawal9217 8 ай бұрын
Thank you this is very helpful for the interview.
@rameshblindlifestyle
@rameshblindlifestyle Жыл бұрын
💗 హాయ్ సార్ 🖤 కళ్ళతో చూడలేకపోయినా విని అర్థం చేసుకుంటూ ఉన్నాను కళ్ళు లేవు కదా కామెంట్ ఎలా పెట్టారు అనే డౌట్ ఎవరికైనా వస్తే Ramesh blind అనే టైటిల్ పైన ఉన్న వీడియోస్ చూడండి
@sravanit2002
@sravanit2002 8 ай бұрын
Thank you it's very helpful
@AravStark
@AravStark 9 ай бұрын
int num = 7; // normal assignment Integer num1 = new Integer(num); // boxing Integer num11 = num; // auto-boxing int num2 = num11.intValue(); // unboxing int num2 = num11; // auto-unboxing
@anonymous.reddy0
@anonymous.reddy0 Жыл бұрын
thanks a lot don't stop making videos we are waiting
@randomperson-yj1xo
@randomperson-yj1xo 4 ай бұрын
Thank you, can you do a video with programming questions? so that children can have revision?
@monishzeek5862
@monishzeek5862 Жыл бұрын
Pls upload javascript course like you upload for java
@ritwikdurga3855
@ritwikdurga3855 Жыл бұрын
Sir are these tutorials different from the ones previously(3yrs ago) tutorial playlist bcuz I am watching them
@ahmadabadi_jainil
@ahmadabadi_jainil 10 ай бұрын
Thank you so much sir ❤❤
@yashuy3279
@yashuy3279 Жыл бұрын
Thank you, Sir.
@jaisuriya9552
@jaisuriya9552 11 ай бұрын
Integer b = (Integer) a ; what about it sir :>
@PipsMastery
@PipsMastery 2 ай бұрын
Sir how did you get that Integer file containing all the infomartion about it on vs code?
@immortal_here
@immortal_here 5 ай бұрын
Bruh, thanks a lot , day after tomorrow is my cs examination in ICSE 10 and I was confused in this wrapper class . This helped me a lot
@savage_001
@savage_001 11 күн бұрын
Ye btech ka syllabus 10th me padh rahe ho tmlog 😢😢
@immortal_here
@immortal_here 11 күн бұрын
@@savage_001 padh ke pass bhi ho gya with 97/100 in cs
@zulfiqar7967
@zulfiqar7967 Жыл бұрын
Any blockchain course??
@unemployedcse3514
@unemployedcse3514 2 ай бұрын
awesome ❤
@xurdeor3247
@xurdeor3247 8 ай бұрын
similarly // Converting Integer to String Integer myInt = 456; String str = myInt.toString();
@MoeMoe-qr7od
@MoeMoe-qr7od 7 ай бұрын
I think , better use String.valueof();
@rayananaresh3125
@rayananaresh3125 9 ай бұрын
Bro what platform are you using to write the code Pls tell and share with me
@salmanrizwan9076
@salmanrizwan9076 6 ай бұрын
Visual Studio Code is the IDE he's using
@basudevpaul8417
@basudevpaul8417 Жыл бұрын
ParseInt wala achha laga : ).
@user-ll5qj9tj5c
@user-ll5qj9tj5c 5 ай бұрын
when i taken as integer as string and printing directly without converting its working fine how
@vijayt8844
@vijayt8844 Жыл бұрын
Hii i need small query.. How to log out user if the login is already present in another browser or another window... Suggest me
@SHASHANKRUSTAGII
@SHASHANKRUSTAGII Жыл бұрын
hello sir, i need to learn spring from scratch, then go to spring boot, what is the path?
@Mary__b46
@Mary__b46 Ай бұрын
The Bitcoin transfer is a done deal-time to celebrate!
@Bdbdjdidnbwk
@Bdbdjdidnbwk 6 ай бұрын
and now, we can't use new Integer anymore :)
@christhelemaque4187
@christhelemaque4187 Жыл бұрын
I want spring boot update I can’t wait to see ya content
@mahendrarajv3892
@mahendrarajv3892 Жыл бұрын
Hi bro explain about how to create ear file because no one can explain properly video if you can explain easy to understand this is my queries
@tusharrawat859
@tusharrawat859 Жыл бұрын
Which ide is this
@gujjushanmukhasaipavankuma8983
@gujjushanmukhasaipavankuma8983 Жыл бұрын
Visual Studio code
@susobhandas18
@susobhandas18 7 ай бұрын
Sir, Why do we initialize object?
@SaiErukulla
@SaiErukulla 6 ай бұрын
To access the value by passing object reference variable in sout
@jagadeeshsadam9990
@jagadeeshsadam9990 Жыл бұрын
Sir please upload C# video also .
@Pavankumar-xl4ov
@Pavankumar-xl4ov Жыл бұрын
oh why you are teaching the same topic again, is it just for the money or we will get anything extra from this video
@subhanishaik7745
@subhanishaik7745 Жыл бұрын
durga sir having good teaching skills and less technical skills
@subhanishaik7745
@subhanishaik7745 Жыл бұрын
u have very good technical skills and less teaching skills.
@iIrfanhussain
@iIrfanhussain Жыл бұрын
discord like doesnot work
@prabinlamsal74
@prabinlamsal74 2 ай бұрын
But what is wrapper class? lol
@Alonkete
@Alonkete 2 ай бұрын
Lund
@laljibhaitalpada3950
@laljibhaitalpada3950 Жыл бұрын
India ko coding sikhana hai to hindi bolo.....🇮🇳🇮🇳🇮🇳🇮🇳🇮🇳🇮🇳
@nomadvishal1306
@nomadvishal1306 Жыл бұрын
Interview crack krna h toh English sikho!!
@azmathkhan7619
@azmathkhan7619 Жыл бұрын
i am unsubscribe you because your making paid course
@sravanit2002
@sravanit2002 8 ай бұрын
Thank you it's very helpful
#61 Abstract Keyword in Java
12:09
Telusko
Рет қаралды 143 М.
#59 Upcasting and Downcasting in Java
6:37
Telusko
Рет қаралды 96 М.
هذه الحلوى قد تقتلني 😱🍬
00:22
Cool Tool SHORTS Arabic
Рет қаралды 54 МЛН
ISSEI & yellow girl 💛
00:33
ISSEI / いっせい
Рет қаралды 25 МЛН
What is Wrapper Class In Java - Explanation with Examples
28:47
Mukesh otwani
Рет қаралды 42 М.
Fastest Way to Learn ANY Programming Language: 80-20 rule
8:24
Sahil & Sarra
Рет қаралды 831 М.
#58 Object Class equals toString hashcode in Java
12:00
Telusko
Рет қаралды 105 М.
Java wrapper classes 🎁
7:13
Bro Code
Рет қаралды 109 М.
#65 What is Interface in Java
8:03
Telusko
Рет қаралды 193 М.
Javascript Promises vs Async Await EXPLAINED (in 5 minutes)
5:50
Roberts Dev Talk
Рет қаралды 579 М.
Generics In Java - Full Simple Tutorial
17:34
Coding with John
Рет қаралды 1 МЛН
What is JSON ?
11:56
Telusko
Рет қаралды 1,1 МЛН