Java Bangla Tutorials 93 : Wrapper class (autoboxing, unboxing)

preview_player
Показать описание
➡️ In this video, I will discuss the Wrapper class (autoboxing, unboxing).
⭐️ Video Contents ⭐️
⌨️ (00:00) Intro
⌨️ (00:11) Wrapper class (autoboxing, unboxing)
⌨️ (07:23) Outro

🛑 Web development? Checkout following playlists :

🛑 Programming languages? Check out the following playlists:

🛑 Android development? Check out the following playlists:

🛑 HSC Students? Are you worried about ICT? I have created 377 videos for you. check out the following playlists-

🛑 CSE Students? Checkout following playlists :

🛑 MS Office? Trying to learn MS Office to improve your skill? Checkout following playlists :

#java #anisul_islam #java_bangla_tutorial #web_development #bangla_web_development #andorid #javaprogramming #javatutorial #bangla_tutorial #java_anisul_islam
Рекомендации по теме
Комментарии
Автор

ভাইয়া আপনার সি প্রোগ্রামিং কোর্স করেছি এবং সি++ কোর্সও করেছি এখন জাভা প্রোগ্রামিং শুরু করে দোয়া করবেন আমার জন্য

bucse
Автор

Thanks dada a vabe apni amader pache thakun..

rajdeep
Автор

Subscribe kore thanks ta bollam SIR❤️💕

mostrecent
Автор

// Autoboxing - Primitive to object

int x = 30;
Integer y = x; //Integer.valueOf(x);
System.out.println("y = " + y);

// Unboxing - object to Primitive

Double d = 10.25; // new Double(10.25);
double e = d; //d.doubleValue();
System.out.println("e = " + e);

mdshahadulislamshebley
Автор

Issh apni Jodi amake personally poraten😔

mostrecent
Автор

object to primitive ক্ষেত্রে string থেকে অন্য কোনো কনভার্ট করতে কি ফর্মুলা ব্যবহার করবো।

limonhossain
Автор

package newpackage;


public class Wrapper {
public static void main(String[] args) {
int a = 45;
//premitive to object :
Integer b = Integer.valueOf(a);
System.out.println("b is : "+b);
//Autoboxing
Integer c = a;
System.out.println("c is : "+c);
//object to premitive :
Double d = new Double(3.56);
System.out.println("d is : "+d);

double e = d.doubleValue();
System.out.println("e is : "+e);
//Unboxing
double f = d ;
System.out.println("f is : "+f);


}
}

tomabanik
Автор

Sir, I want to tell one thing that I used double e = Double.valueOf(d); this code instead of double e = d.doubleValue(); this code and found that the program ran successfully and gave the correct output also!

theloveexplorer
Автор

package basicjava;
import java.util.Scanner;
public class WrapperClass {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
int a, n;
//Primitive->Object (Autoboxing)
System.out.print("Enter any integer number:");
a=input.nextInt();
System.out.println("Primitive value:"+a);
Integer A=a;
System.out.println("Object value:"+A);
//Object->Primitive (Unboxing)
System.out.print("Enter value of n:");
n=input.nextInt();
Integer n1=n;
System.out.println("Object value:"+n1);
int n2=n1;
System.out.println("Primitive value:"+n2);
}
}

mdshamsulalammomin