SlideShare a Scribd company logo
1 of 17
Download to read offline
11/26/2016
INFORMATION TECHNOLOGY
PROJECT REPORT
TOPIC
WRAPPER CLASS AND
METHOD OF NENNESTING
SUMBITTED BY
Harendra Sing Rawat
JAVA PROGRAMING
BCA II&Year
DEZYNE E’COLE COLLEGE
WWW.DEZYENEECOLE.COM
1 | P a g e
Project Report
On
JAVA PROGRAM
At
Dezyne E’cole College
Ajmer
Submitted to
Dezyne E’cole College
To words the
Practical Fulfillment on
BACHLAR OF COMPUTER APPLICATION
By
Harendra Singh Rawat
Dezyne E’cole Collage
106/10 civil lines, Ajmer
www.dezyneecole.com
2016-2017
2 | P a g e
ACKNOWLEDGMENT
I HARENDRA SINGH RAWAT, STUDENT OF DEZYNE E’ COLE COLLEGE,
ON? EXTREMELY GRATEFUL TO EACH AND EVERY INDIVIDUAL WHO HAS
CONTRIBUTED IN SUCCESSFUL COMPLETION OF MY PROJECT.
I EXPRESS MY GRATITUDE TOP WORD DEZYNE E’COLE COLLEGE FOR
THEIR. GUIDANCE AND CONSTANT SUPER VISION AS WELL AS FOR
PROVIDING THE NECESSARY INFORMATION AND SUPPORT REGARDING
THE COMPLETION OF PROJECT.
THANK YOU.
3 | P a g e
SYNOPSIS
This project is a minor, project made based on the theoretical
concepts of Java.
This project has made our basic concepts on Java Strong
4 | P a g e
Wrapper classes:-
As pointed out earlier, vectors cannot handle primitive data types like
int, float char, and double. Primitive data type may be converted into
object type by using the wrapper classes contained in the java.lang
Package. Following table shows the simple data types and their
corresponding wrapper class types.
Wrapper Classes For Converting Types:-
Simple Type Wrapper Class
Boolean Boolean
Char Character
Double Double
Float Float
Int Integer
Long Long
The wappera classes have a number of unique methods for handling
primitive data type and object. They are listed in the following tables.
Converting Primitive Number to Object Number Using Constructor
Method:-
Constructor Calling Conversion Action
Integer IntVal=new Integer(i); Primitive integer to Integer Object
Float FloatVal=new Float(f); Primitive float to Float Object
Double Doubleva=new Double(d); Primitive double to Double Object
Long LongVal=new Long(l); Primitive long to Long Object
5 | P a g e
Converting Object Number to Primitive Number Using type
Value() Method:-
Method Calling Conversion Action
Int i=IntVal.intValue(); Object to Primitive integer
float f=FloatVal.floatValue(); Object to Primitive float
Long l=Longval.longValue(); Object to Primitive long
Double d=DoubleVal.doubleValue(); Object to Primitive double
Converting Number to String Using to String()Method:-
Method Calling Conversion Action
str=Integer.toString(i); Primitive integer to string
str=Float.toFloat(f); Primitive float to string
str=Double.toDouble(d); Primitive double to string
str=Long.toLong(l); Primitive long to string
Converting String objects to Number Object Using the Static
Method valueOf()
Method Calling Converion Action
DoubleVal = Double.valueOf(str); Converts string to Double object
FloatVal = Float.valueOf(str); Converts string to Float object
IntVal = Integer.valueOf(str); Converts string to Integer object
LongVal = Long.valueOf(str); Converts string to Long object
Converting Numeric String to Primitive Number Using Parsing
Methods:-
Method Calling Conversion Action
Int I =Integer.ParseInt(str); Converts string to primitive integer
float f =Integer.ParseFloat(str); Converts string to primitive float
long l =Integer.ParseLong(str); Converts string to primitive long
double d =Integer.ParseDouble(str); Converts string to primitive double
6 | P a g e
Converting Primitive Number to object Number:-
Output:-
7 | P a g e
Converting Object Number to Primitive Number:-
Output:-
8 | P a g e
Converting Number to String:-
Output:-
9 | P a g e
Converting String Object to Numeric Object:-
Output:-
10 | P a g e
Converting Numeric String to Primitive Number:-
Output:-
11 | P a g e
Auto Boxing and Unboxing:-
The auto boxing and Unboxing feature, introduced in J2SE 5.0, facilities
the process of handling primitive data type in collection we can use the
feature to convert primitive data type to wrapper class type
automatically.
The compiler generates a cade implicitly to convert primitive type to the
corresponding wrapper class type and vise-versa. For Example, Consider
the Following Statements:
Doubled=98;
Double dbl=d.doubleValue();
Using the auto boxing and unboxing feature, we can rewrite the above
code as:-
Double d=98.42;
Double dbl=d;
How, the java compiler provide restrictions to perform the following
conversions:-
 Convert from null type to any primitive type.
 Convert to the null type other than the identify conversion.
 Convert from any class type C to any array type id C is not object.
12 | P a g e
Vector without using auto Boxing and Unboxing:-
Output:-
13 | P a g e
Vector with using auto boxing and unboxing:-
Output:-
Nesting of Methods:-
We discussed earlier that a method of a class can be called only by an
object of that class (or class its self, in the case of static methods) using
the dot operator. However, there is an exception to this at method can
be called by using only its name by another method of the same class.
This is known as Nesting of methods.
Program illustrates the nesting of methods inside a class. The class
Nesting defines one constructor and two methods namely largest() and
display(). The methods display() calls the methods largest() to deter mine
the largest of the two numbers and then display the result.
14 | P a g e
Nesting of Methods:-
Output:-
15 | P a g e
Nesting of Methods:-
Output:-
A method can call any number of methods. It is also possible for a called
methods to call mother method. That is, method may call method2, which
in turn my call method3.
16 | P a g e
THANK YOU

More Related Content

What's hot

Karishma Dhanwani,BCA 2nd Year
Karishma Dhanwani,BCA 2nd YearKarishma Dhanwani,BCA 2nd Year
Karishma Dhanwani,BCA 2nd Yeardezyneecole
 
Daksh Sharma ,BCA 2nd Year
Daksh  Sharma ,BCA 2nd YearDaksh  Sharma ,BCA 2nd Year
Daksh Sharma ,BCA 2nd Yeardezyneecole
 
Farhaan Ahmed, BCA 2nd Year
Farhaan Ahmed, BCA 2nd YearFarhaan Ahmed, BCA 2nd Year
Farhaan Ahmed, BCA 2nd Yeardezyneecole
 
Deepika Mittal,BCA ,2nd Year
Deepika Mittal,BCA ,2nd Year Deepika Mittal,BCA ,2nd Year
Deepika Mittal,BCA ,2nd Year dezyneecole
 
Ram Prasad ,BCA 2nd Year
Ram Prasad ,BCA 2nd YearRam Prasad ,BCA 2nd Year
Ram Prasad ,BCA 2nd Yeardezyneecole
 
Shivani Chouhan ,BCA ,2nd Year
Shivani Chouhan ,BCA ,2nd YearShivani Chouhan ,BCA ,2nd Year
Shivani Chouhan ,BCA ,2nd Yeardezyneecole
 
Pooja Sharma ,BCA 2nd Year
Pooja Sharma ,BCA 2nd YearPooja Sharma ,BCA 2nd Year
Pooja Sharma ,BCA 2nd Yeardezyneecole
 
Ravi Sharma,BCA 2nd Year
Ravi Sharma,BCA 2nd YearRavi Sharma,BCA 2nd Year
Ravi Sharma,BCA 2nd Yeardezyneecole
 
Yashika Soni, BCA 2nd Year
Yashika Soni, BCA 2nd YearYashika Soni, BCA 2nd Year
Yashika Soni, BCA 2nd Yeardezyneecole
 
Deepak Soni,BCA 2nd Year
Deepak Soni,BCA 2nd YearDeepak Soni,BCA 2nd Year
Deepak Soni,BCA 2nd Yeardezyneecole
 
Aanchal Gupta,BCA 2nd year
Aanchal Gupta,BCA 2nd yearAanchal Gupta,BCA 2nd year
Aanchal Gupta,BCA 2nd yeardezyneecole
 
Varun Kaushik, BCA 2nd Year
Varun Kaushik, BCA 2nd YearVarun Kaushik, BCA 2nd Year
Varun Kaushik, BCA 2nd Yeardezyneecole
 
Shaikh Mohammad Usman Haider ,BCA 2nd Year
Shaikh Mohammad Usman Haider ,BCA 2nd Year Shaikh Mohammad Usman Haider ,BCA 2nd Year
Shaikh Mohammad Usman Haider ,BCA 2nd Year dezyneecole
 
Rakesh Bijawat , BCA Third Year
Rakesh Bijawat , BCA Third YearRakesh Bijawat , BCA Third Year
Rakesh Bijawat , BCA Third YearDezyneecole
 
Rakesh Bijawat, BCA 2nd Year
Rakesh Bijawat, BCA 2nd YearRakesh Bijawat, BCA 2nd Year
Rakesh Bijawat, BCA 2nd Yeardezyneecole
 
Amit Kumar Yadav ,BCA
Amit Kumar Yadav ,BCAAmit Kumar Yadav ,BCA
Amit Kumar Yadav ,BCAdezyneecole
 
Nikita Totlani ,BCA 2nd year
Nikita Totlani ,BCA 2nd year Nikita Totlani ,BCA 2nd year
Nikita Totlani ,BCA 2nd year dezyneecole
 
Mithlesh Singh Rawat, BCA 2nd Year
Mithlesh Singh Rawat, BCA 2nd Year Mithlesh Singh Rawat, BCA 2nd Year
Mithlesh Singh Rawat, BCA 2nd Year dezyneecole
 
Kaushal Soni,BCA,2nd Year
Kaushal Soni,BCA,2nd YearKaushal Soni,BCA,2nd Year
Kaushal Soni,BCA,2nd Yeardezyneecole
 
Sudarshan Joshi,BCA 2nd Year
Sudarshan Joshi,BCA 2nd Year Sudarshan Joshi,BCA 2nd Year
Sudarshan Joshi,BCA 2nd Year dezyneecole
 

What's hot (20)

Karishma Dhanwani,BCA 2nd Year
Karishma Dhanwani,BCA 2nd YearKarishma Dhanwani,BCA 2nd Year
Karishma Dhanwani,BCA 2nd Year
 
Daksh Sharma ,BCA 2nd Year
Daksh  Sharma ,BCA 2nd YearDaksh  Sharma ,BCA 2nd Year
Daksh Sharma ,BCA 2nd Year
 
Farhaan Ahmed, BCA 2nd Year
Farhaan Ahmed, BCA 2nd YearFarhaan Ahmed, BCA 2nd Year
Farhaan Ahmed, BCA 2nd Year
 
Deepika Mittal,BCA ,2nd Year
Deepika Mittal,BCA ,2nd Year Deepika Mittal,BCA ,2nd Year
Deepika Mittal,BCA ,2nd Year
 
Ram Prasad ,BCA 2nd Year
Ram Prasad ,BCA 2nd YearRam Prasad ,BCA 2nd Year
Ram Prasad ,BCA 2nd Year
 
Shivani Chouhan ,BCA ,2nd Year
Shivani Chouhan ,BCA ,2nd YearShivani Chouhan ,BCA ,2nd Year
Shivani Chouhan ,BCA ,2nd Year
 
Pooja Sharma ,BCA 2nd Year
Pooja Sharma ,BCA 2nd YearPooja Sharma ,BCA 2nd Year
Pooja Sharma ,BCA 2nd Year
 
Ravi Sharma,BCA 2nd Year
Ravi Sharma,BCA 2nd YearRavi Sharma,BCA 2nd Year
Ravi Sharma,BCA 2nd Year
 
Yashika Soni, BCA 2nd Year
Yashika Soni, BCA 2nd YearYashika Soni, BCA 2nd Year
Yashika Soni, BCA 2nd Year
 
Deepak Soni,BCA 2nd Year
Deepak Soni,BCA 2nd YearDeepak Soni,BCA 2nd Year
Deepak Soni,BCA 2nd Year
 
Aanchal Gupta,BCA 2nd year
Aanchal Gupta,BCA 2nd yearAanchal Gupta,BCA 2nd year
Aanchal Gupta,BCA 2nd year
 
Varun Kaushik, BCA 2nd Year
Varun Kaushik, BCA 2nd YearVarun Kaushik, BCA 2nd Year
Varun Kaushik, BCA 2nd Year
 
Shaikh Mohammad Usman Haider ,BCA 2nd Year
Shaikh Mohammad Usman Haider ,BCA 2nd Year Shaikh Mohammad Usman Haider ,BCA 2nd Year
Shaikh Mohammad Usman Haider ,BCA 2nd Year
 
Rakesh Bijawat , BCA Third Year
Rakesh Bijawat , BCA Third YearRakesh Bijawat , BCA Third Year
Rakesh Bijawat , BCA Third Year
 
Rakesh Bijawat, BCA 2nd Year
Rakesh Bijawat, BCA 2nd YearRakesh Bijawat, BCA 2nd Year
Rakesh Bijawat, BCA 2nd Year
 
Amit Kumar Yadav ,BCA
Amit Kumar Yadav ,BCAAmit Kumar Yadav ,BCA
Amit Kumar Yadav ,BCA
 
Nikita Totlani ,BCA 2nd year
Nikita Totlani ,BCA 2nd year Nikita Totlani ,BCA 2nd year
Nikita Totlani ,BCA 2nd year
 
Mithlesh Singh Rawat, BCA 2nd Year
Mithlesh Singh Rawat, BCA 2nd Year Mithlesh Singh Rawat, BCA 2nd Year
Mithlesh Singh Rawat, BCA 2nd Year
 
Kaushal Soni,BCA,2nd Year
Kaushal Soni,BCA,2nd YearKaushal Soni,BCA,2nd Year
Kaushal Soni,BCA,2nd Year
 
Sudarshan Joshi,BCA 2nd Year
Sudarshan Joshi,BCA 2nd Year Sudarshan Joshi,BCA 2nd Year
Sudarshan Joshi,BCA 2nd Year
 

Viewers also liked

Activity 1 parts of the computer
Activity 1 parts of the computerActivity 1 parts of the computer
Activity 1 parts of the computerjoy grace bagui
 
дворец ветеранов газета о ветеранах
дворец ветеранов газета о ветеранахдворец ветеранов газета о ветеранах
дворец ветеранов газета о ветеранахОлеся Зубарева
 
Crítica Elgar Signum
Crítica Elgar SignumCrítica Elgar Signum
Crítica Elgar SignumLR MUSIC
 
красноглинский цсо проект жизнь как пример
красноглинский цсо проект жизнь как примеркрасноглинский цсо проект жизнь как пример
красноглинский цсо проект жизнь как примерОлеся Зубарева
 
แบบเสนอโครงร่างโครงงานคอมพิวเตอร์
แบบเสนอโครงร่างโครงงานคอมพิวเตอร์แบบเสนอโครงร่างโครงงานคอมพิวเตอร์
แบบเสนอโครงร่างโครงงานคอมพิวเตอร์Best Chisanupong
 
Normas icontec
Normas icontecNormas icontec
Normas icontecChecho202
 
калиниград сборник кейсов
калиниград сборник кейсовкалиниград сборник кейсов
калиниград сборник кейсовОлеся Зубарева
 
Hertog Jan's fans first strategie artikel ft. krijn in tijdschrift voor marke...
Hertog Jan's fans first strategie artikel ft. krijn in tijdschrift voor marke...Hertog Jan's fans first strategie artikel ft. krijn in tijdschrift voor marke...
Hertog Jan's fans first strategie artikel ft. krijn in tijdschrift voor marke...The Valley
 
Tanu Chourasiya,B.Sc fashion Technology+2 years Diploma
Tanu Chourasiya,B.Sc fashion Technology+2 years Diploma Tanu Chourasiya,B.Sc fashion Technology+2 years Diploma
Tanu Chourasiya,B.Sc fashion Technology+2 years Diploma dezyneecole
 
Heena Soni,B.Sc fashion Technology+2 years Diploma
 Heena Soni,B.Sc fashion Technology+2 years Diploma Heena Soni,B.Sc fashion Technology+2 years Diploma
Heena Soni,B.Sc fashion Technology+2 years Diplomadezyneecole
 
Personal project best work
Personal project best workPersonal project best work
Personal project best workkilvingtonl
 
MYP Personal Project Introduction
MYP Personal Project Introduction MYP Personal Project Introduction
MYP Personal Project Introduction robwhitejapan
 
Critical path method example by myassignmenthelp
Critical path method example by myassignmenthelpCritical path method example by myassignmenthelp
Critical path method example by myassignmenthelpwww.myassignmenthelp.net
 
Welingkar Project for Sem 2
Welingkar Project for Sem 2Welingkar Project for Sem 2
Welingkar Project for Sem 2shaban shaikh
 
Personal Project Report
Personal Project ReportPersonal Project Report
Personal Project ReportAh young, Cho
 
Personal Project Student Guide And Process Journal
Personal Project Student Guide And Process JournalPersonal Project Student Guide And Process Journal
Personal Project Student Guide And Process JournalInternational School Geneva
 

Viewers also liked (19)

Activity 1 parts of the computer
Activity 1 parts of the computerActivity 1 parts of the computer
Activity 1 parts of the computer
 
дворец ветеранов газета о ветеранах
дворец ветеранов газета о ветеранахдворец ветеранов газета о ветеранах
дворец ветеранов газета о ветеранах
 
Crítica Elgar Signum
Crítica Elgar SignumCrítica Elgar Signum
Crítica Elgar Signum
 
презентация трц (1)
презентация трц (1)презентация трц (1)
презентация трц (1)
 
красноглинский цсо проект жизнь как пример
красноглинский цсо проект жизнь как примеркрасноглинский цсо проект жизнь как пример
красноглинский цсо проект жизнь как пример
 
แบบเสนอโครงร่างโครงงานคอมพิวเตอร์
แบบเสนอโครงร่างโครงงานคอมพิวเตอร์แบบเสนอโครงร่างโครงงานคอมพิวเตอร์
แบบเสนอโครงร่างโครงงานคอมพิวเตอร์
 
Typing 1
Typing 1Typing 1
Typing 1
 
Normas icontec
Normas icontecNormas icontec
Normas icontec
 
калиниград сборник кейсов
калиниград сборник кейсовкалиниград сборник кейсов
калиниград сборник кейсов
 
Hertog Jan's fans first strategie artikel ft. krijn in tijdschrift voor marke...
Hertog Jan's fans first strategie artikel ft. krijn in tijdschrift voor marke...Hertog Jan's fans first strategie artikel ft. krijn in tijdschrift voor marke...
Hertog Jan's fans first strategie artikel ft. krijn in tijdschrift voor marke...
 
Занятость после пенсии
Занятость после пенсииЗанятость после пенсии
Занятость после пенсии
 
Tanu Chourasiya,B.Sc fashion Technology+2 years Diploma
Tanu Chourasiya,B.Sc fashion Technology+2 years Diploma Tanu Chourasiya,B.Sc fashion Technology+2 years Diploma
Tanu Chourasiya,B.Sc fashion Technology+2 years Diploma
 
Heena Soni,B.Sc fashion Technology+2 years Diploma
 Heena Soni,B.Sc fashion Technology+2 years Diploma Heena Soni,B.Sc fashion Technology+2 years Diploma
Heena Soni,B.Sc fashion Technology+2 years Diploma
 
Personal project best work
Personal project best workPersonal project best work
Personal project best work
 
MYP Personal Project Introduction
MYP Personal Project Introduction MYP Personal Project Introduction
MYP Personal Project Introduction
 
Critical path method example by myassignmenthelp
Critical path method example by myassignmenthelpCritical path method example by myassignmenthelp
Critical path method example by myassignmenthelp
 
Welingkar Project for Sem 2
Welingkar Project for Sem 2Welingkar Project for Sem 2
Welingkar Project for Sem 2
 
Personal Project Report
Personal Project ReportPersonal Project Report
Personal Project Report
 
Personal Project Student Guide And Process Journal
Personal Project Student Guide And Process JournalPersonal Project Student Guide And Process Journal
Personal Project Student Guide And Process Journal
 

Similar to Java wrapper classes and method nesting project report

BCA 2nd year Java prog. File
BCA 2nd year Java prog. FileBCA 2nd year Java prog. File
BCA 2nd year Java prog. FileRahul Saini
 
Brijesh Peswani,BCA 2nd Year
Brijesh Peswani,BCA 2nd YearBrijesh Peswani,BCA 2nd Year
Brijesh Peswani,BCA 2nd Yeardezyneecole
 
Pooja Sharma , BCA Third Year
Pooja Sharma , BCA Third YearPooja Sharma , BCA Third Year
Pooja Sharma , BCA Third YearDezyneecole
 
Akshay Sharma,BCA,2nd year
Akshay Sharma,BCA,2nd yearAkshay Sharma,BCA,2nd year
Akshay Sharma,BCA,2nd yeardezyneecole
 
Samarth Gaur ,BCA 2nd Year
Samarth Gaur ,BCA 2nd YearSamarth Gaur ,BCA 2nd Year
Samarth Gaur ,BCA 2nd Yeardezyneecole
 
Ravi Prakash,BCA,2nd Year
Ravi Prakash,BCA,2nd YearRavi Prakash,BCA,2nd Year
Ravi Prakash,BCA,2nd Yeardezyneecole
 
22316-2019-Summer-model-answer-paper.pdf
22316-2019-Summer-model-answer-paper.pdf22316-2019-Summer-model-answer-paper.pdf
22316-2019-Summer-model-answer-paper.pdfPradipShinde53
 

Similar to Java wrapper classes and method nesting project report (10)

BCA 2nd year Java prog. File
BCA 2nd year Java prog. FileBCA 2nd year Java prog. File
BCA 2nd year Java prog. File
 
Wrapper classes
Wrapper classesWrapper classes
Wrapper classes
 
Brijesh Peswani,BCA 2nd Year
Brijesh Peswani,BCA 2nd YearBrijesh Peswani,BCA 2nd Year
Brijesh Peswani,BCA 2nd Year
 
Kirti Kumawat
Kirti KumawatKirti Kumawat
Kirti Kumawat
 
Pooja Sharma , BCA Third Year
Pooja Sharma , BCA Third YearPooja Sharma , BCA Third Year
Pooja Sharma , BCA Third Year
 
Akshay Sharma,BCA,2nd year
Akshay Sharma,BCA,2nd yearAkshay Sharma,BCA,2nd year
Akshay Sharma,BCA,2nd year
 
Samarth Gaur ,BCA 2nd Year
Samarth Gaur ,BCA 2nd YearSamarth Gaur ,BCA 2nd Year
Samarth Gaur ,BCA 2nd Year
 
Ravi Prakash,BCA,2nd Year
Ravi Prakash,BCA,2nd YearRavi Prakash,BCA,2nd Year
Ravi Prakash,BCA,2nd Year
 
22316-2019-Summer-model-answer-paper.pdf
22316-2019-Summer-model-answer-paper.pdf22316-2019-Summer-model-answer-paper.pdf
22316-2019-Summer-model-answer-paper.pdf
 
2.dynamic
2.dynamic2.dynamic
2.dynamic
 

More from dezyneecole

Gracika Benjamin , Diploma Fashion Design Second Year
Gracika Benjamin , Diploma Fashion Design Second YearGracika Benjamin , Diploma Fashion Design Second Year
Gracika Benjamin , Diploma Fashion Design Second Yeardezyneecole
 
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year
Sheikh Anjum Firdoush , Diploma Fashion Design Second YearSheikh Anjum Firdoush , Diploma Fashion Design Second Year
Sheikh Anjum Firdoush , Diploma Fashion Design Second Yeardezyneecole
 
Harsha Chhaparwal, Diploma Fashion Design Second Year
Harsha Chhaparwal, Diploma Fashion Design Second YearHarsha Chhaparwal, Diploma Fashion Design Second Year
Harsha Chhaparwal, Diploma Fashion Design Second Yeardezyneecole
 
Harsha Chhaparwal, Diploma Fashion Design Second Year
Harsha Chhaparwal, Diploma Fashion Design Second YearHarsha Chhaparwal, Diploma Fashion Design Second Year
Harsha Chhaparwal, Diploma Fashion Design Second Yeardezyneecole
 
Harsha Chhaparwal, Diploma Fashion Design Second Year
Harsha Chhaparwal, Diploma Fashion Design Second YearHarsha Chhaparwal, Diploma Fashion Design Second Year
Harsha Chhaparwal, Diploma Fashion Design Second Yeardezyneecole
 
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year
Sheikh Anjum Firdoush , Diploma Fashion Design Second YearSheikh Anjum Firdoush , Diploma Fashion Design Second Year
Sheikh Anjum Firdoush , Diploma Fashion Design Second Yeardezyneecole
 
Sushmita Bhati, Diploma Fashion Design Second Year
Sushmita Bhati, Diploma Fashion Design Second YearSushmita Bhati, Diploma Fashion Design Second Year
Sushmita Bhati, Diploma Fashion Design Second Yeardezyneecole
 
Sushmita Bhati, Diploma Fashion Design Second Year
Sushmita Bhati, Diploma Fashion Design Second YearSushmita Bhati, Diploma Fashion Design Second Year
Sushmita Bhati, Diploma Fashion Design Second Yeardezyneecole
 
Sushmita Bhati, Diploma Fashion Design Second Year, (How to Design for Fashio...
Sushmita Bhati, Diploma Fashion Design Second Year, (How to Design for Fashio...Sushmita Bhati, Diploma Fashion Design Second Year, (How to Design for Fashio...
Sushmita Bhati, Diploma Fashion Design Second Year, (How to Design for Fashio...dezyneecole
 
Somya Jain, Diploma Fashion Design Second Year, (How to Design for Fashion In...
Somya Jain, Diploma Fashion Design Second Year, (How to Design for Fashion In...Somya Jain, Diploma Fashion Design Second Year, (How to Design for Fashion In...
Somya Jain, Diploma Fashion Design Second Year, (How to Design for Fashion In...dezyneecole
 
Gitesh Chhatwani , BCA -3 Year
Gitesh Chhatwani , BCA -3 YearGitesh Chhatwani , BCA -3 Year
Gitesh Chhatwani , BCA -3 Yeardezyneecole
 
Anurag Yadav , B.Voc Interior Design 1st Year ( Residential Portfolio)
Anurag Yadav , B.Voc Interior Design 1st Year ( Residential Portfolio)Anurag Yadav , B.Voc Interior Design 1st Year ( Residential Portfolio)
Anurag Yadav , B.Voc Interior Design 1st Year ( Residential Portfolio)dezyneecole
 
Namita Bakoliya, Diploma Fashion Design First Year, (Corel Draw Project)
Namita Bakoliya, Diploma Fashion Design First Year, (Corel Draw Project)Namita Bakoliya, Diploma Fashion Design First Year, (Corel Draw Project)
Namita Bakoliya, Diploma Fashion Design First Year, (Corel Draw Project)dezyneecole
 
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Pattern Engineer...
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Pattern Engineer...Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Pattern Engineer...
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Pattern Engineer...dezyneecole
 
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Draping Project)
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Draping Project)Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Draping Project)
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Draping Project)dezyneecole
 
Gouri Ramchandani, Diploma Fashion Design First Year, (Embroidery Project)
Gouri Ramchandani, Diploma Fashion Design First Year, (Embroidery Project)Gouri Ramchandani, Diploma Fashion Design First Year, (Embroidery Project)
Gouri Ramchandani, Diploma Fashion Design First Year, (Embroidery Project)dezyneecole
 
Gouri Ramchandani, Diploma Fashion Design First Year, (Corel DrawProject)
Gouri Ramchandani, Diploma Fashion Design First Year, (Corel DrawProject)Gouri Ramchandani, Diploma Fashion Design First Year, (Corel DrawProject)
Gouri Ramchandani, Diploma Fashion Design First Year, (Corel DrawProject)dezyneecole
 
Dimple Mordani, Diploma Fashion Design First Year, (illustration for Fashion ...
Dimple Mordani, Diploma Fashion Design First Year, (illustration for Fashion ...Dimple Mordani, Diploma Fashion Design First Year, (illustration for Fashion ...
Dimple Mordani, Diploma Fashion Design First Year, (illustration for Fashion ...dezyneecole
 
Dimple Mordani, Diploma Fashion Design First Year, (Design Basics Project)
Dimple Mordani, Diploma Fashion Design First Year, (Design Basics Project)Dimple Mordani, Diploma Fashion Design First Year, (Design Basics Project)
Dimple Mordani, Diploma Fashion Design First Year, (Design Basics Project)dezyneecole
 
Dimple Mordani, Diploma Fashion Design First Year, (Corel Draw Project)
Dimple Mordani, Diploma Fashion Design First Year, (Corel Draw Project)Dimple Mordani, Diploma Fashion Design First Year, (Corel Draw Project)
Dimple Mordani, Diploma Fashion Design First Year, (Corel Draw Project)dezyneecole
 

More from dezyneecole (20)

Gracika Benjamin , Diploma Fashion Design Second Year
Gracika Benjamin , Diploma Fashion Design Second YearGracika Benjamin , Diploma Fashion Design Second Year
Gracika Benjamin , Diploma Fashion Design Second Year
 
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year
Sheikh Anjum Firdoush , Diploma Fashion Design Second YearSheikh Anjum Firdoush , Diploma Fashion Design Second Year
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year
 
Harsha Chhaparwal, Diploma Fashion Design Second Year
Harsha Chhaparwal, Diploma Fashion Design Second YearHarsha Chhaparwal, Diploma Fashion Design Second Year
Harsha Chhaparwal, Diploma Fashion Design Second Year
 
Harsha Chhaparwal, Diploma Fashion Design Second Year
Harsha Chhaparwal, Diploma Fashion Design Second YearHarsha Chhaparwal, Diploma Fashion Design Second Year
Harsha Chhaparwal, Diploma Fashion Design Second Year
 
Harsha Chhaparwal, Diploma Fashion Design Second Year
Harsha Chhaparwal, Diploma Fashion Design Second YearHarsha Chhaparwal, Diploma Fashion Design Second Year
Harsha Chhaparwal, Diploma Fashion Design Second Year
 
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year
Sheikh Anjum Firdoush , Diploma Fashion Design Second YearSheikh Anjum Firdoush , Diploma Fashion Design Second Year
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year
 
Sushmita Bhati, Diploma Fashion Design Second Year
Sushmita Bhati, Diploma Fashion Design Second YearSushmita Bhati, Diploma Fashion Design Second Year
Sushmita Bhati, Diploma Fashion Design Second Year
 
Sushmita Bhati, Diploma Fashion Design Second Year
Sushmita Bhati, Diploma Fashion Design Second YearSushmita Bhati, Diploma Fashion Design Second Year
Sushmita Bhati, Diploma Fashion Design Second Year
 
Sushmita Bhati, Diploma Fashion Design Second Year, (How to Design for Fashio...
Sushmita Bhati, Diploma Fashion Design Second Year, (How to Design for Fashio...Sushmita Bhati, Diploma Fashion Design Second Year, (How to Design for Fashio...
Sushmita Bhati, Diploma Fashion Design Second Year, (How to Design for Fashio...
 
Somya Jain, Diploma Fashion Design Second Year, (How to Design for Fashion In...
Somya Jain, Diploma Fashion Design Second Year, (How to Design for Fashion In...Somya Jain, Diploma Fashion Design Second Year, (How to Design for Fashion In...
Somya Jain, Diploma Fashion Design Second Year, (How to Design for Fashion In...
 
Gitesh Chhatwani , BCA -3 Year
Gitesh Chhatwani , BCA -3 YearGitesh Chhatwani , BCA -3 Year
Gitesh Chhatwani , BCA -3 Year
 
Anurag Yadav , B.Voc Interior Design 1st Year ( Residential Portfolio)
Anurag Yadav , B.Voc Interior Design 1st Year ( Residential Portfolio)Anurag Yadav , B.Voc Interior Design 1st Year ( Residential Portfolio)
Anurag Yadav , B.Voc Interior Design 1st Year ( Residential Portfolio)
 
Namita Bakoliya, Diploma Fashion Design First Year, (Corel Draw Project)
Namita Bakoliya, Diploma Fashion Design First Year, (Corel Draw Project)Namita Bakoliya, Diploma Fashion Design First Year, (Corel Draw Project)
Namita Bakoliya, Diploma Fashion Design First Year, (Corel Draw Project)
 
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Pattern Engineer...
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Pattern Engineer...Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Pattern Engineer...
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Pattern Engineer...
 
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Draping Project)
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Draping Project)Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Draping Project)
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Draping Project)
 
Gouri Ramchandani, Diploma Fashion Design First Year, (Embroidery Project)
Gouri Ramchandani, Diploma Fashion Design First Year, (Embroidery Project)Gouri Ramchandani, Diploma Fashion Design First Year, (Embroidery Project)
Gouri Ramchandani, Diploma Fashion Design First Year, (Embroidery Project)
 
Gouri Ramchandani, Diploma Fashion Design First Year, (Corel DrawProject)
Gouri Ramchandani, Diploma Fashion Design First Year, (Corel DrawProject)Gouri Ramchandani, Diploma Fashion Design First Year, (Corel DrawProject)
Gouri Ramchandani, Diploma Fashion Design First Year, (Corel DrawProject)
 
Dimple Mordani, Diploma Fashion Design First Year, (illustration for Fashion ...
Dimple Mordani, Diploma Fashion Design First Year, (illustration for Fashion ...Dimple Mordani, Diploma Fashion Design First Year, (illustration for Fashion ...
Dimple Mordani, Diploma Fashion Design First Year, (illustration for Fashion ...
 
Dimple Mordani, Diploma Fashion Design First Year, (Design Basics Project)
Dimple Mordani, Diploma Fashion Design First Year, (Design Basics Project)Dimple Mordani, Diploma Fashion Design First Year, (Design Basics Project)
Dimple Mordani, Diploma Fashion Design First Year, (Design Basics Project)
 
Dimple Mordani, Diploma Fashion Design First Year, (Corel Draw Project)
Dimple Mordani, Diploma Fashion Design First Year, (Corel Draw Project)Dimple Mordani, Diploma Fashion Design First Year, (Corel Draw Project)
Dimple Mordani, Diploma Fashion Design First Year, (Corel Draw Project)
 

Recently uploaded

Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Neo4j
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 

Recently uploaded (20)

Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 

Java wrapper classes and method nesting project report

  • 1. 11/26/2016 INFORMATION TECHNOLOGY PROJECT REPORT TOPIC WRAPPER CLASS AND METHOD OF NENNESTING SUMBITTED BY Harendra Sing Rawat JAVA PROGRAMING BCA II&Year DEZYNE E’COLE COLLEGE WWW.DEZYENEECOLE.COM
  • 2. 1 | P a g e Project Report On JAVA PROGRAM At Dezyne E’cole College Ajmer Submitted to Dezyne E’cole College To words the Practical Fulfillment on BACHLAR OF COMPUTER APPLICATION By Harendra Singh Rawat Dezyne E’cole Collage 106/10 civil lines, Ajmer www.dezyneecole.com 2016-2017
  • 3. 2 | P a g e ACKNOWLEDGMENT I HARENDRA SINGH RAWAT, STUDENT OF DEZYNE E’ COLE COLLEGE, ON? EXTREMELY GRATEFUL TO EACH AND EVERY INDIVIDUAL WHO HAS CONTRIBUTED IN SUCCESSFUL COMPLETION OF MY PROJECT. I EXPRESS MY GRATITUDE TOP WORD DEZYNE E’COLE COLLEGE FOR THEIR. GUIDANCE AND CONSTANT SUPER VISION AS WELL AS FOR PROVIDING THE NECESSARY INFORMATION AND SUPPORT REGARDING THE COMPLETION OF PROJECT. THANK YOU.
  • 4. 3 | P a g e SYNOPSIS This project is a minor, project made based on the theoretical concepts of Java. This project has made our basic concepts on Java Strong
  • 5. 4 | P a g e Wrapper classes:- As pointed out earlier, vectors cannot handle primitive data types like int, float char, and double. Primitive data type may be converted into object type by using the wrapper classes contained in the java.lang Package. Following table shows the simple data types and their corresponding wrapper class types. Wrapper Classes For Converting Types:- Simple Type Wrapper Class Boolean Boolean Char Character Double Double Float Float Int Integer Long Long The wappera classes have a number of unique methods for handling primitive data type and object. They are listed in the following tables. Converting Primitive Number to Object Number Using Constructor Method:- Constructor Calling Conversion Action Integer IntVal=new Integer(i); Primitive integer to Integer Object Float FloatVal=new Float(f); Primitive float to Float Object Double Doubleva=new Double(d); Primitive double to Double Object Long LongVal=new Long(l); Primitive long to Long Object
  • 6. 5 | P a g e Converting Object Number to Primitive Number Using type Value() Method:- Method Calling Conversion Action Int i=IntVal.intValue(); Object to Primitive integer float f=FloatVal.floatValue(); Object to Primitive float Long l=Longval.longValue(); Object to Primitive long Double d=DoubleVal.doubleValue(); Object to Primitive double Converting Number to String Using to String()Method:- Method Calling Conversion Action str=Integer.toString(i); Primitive integer to string str=Float.toFloat(f); Primitive float to string str=Double.toDouble(d); Primitive double to string str=Long.toLong(l); Primitive long to string Converting String objects to Number Object Using the Static Method valueOf() Method Calling Converion Action DoubleVal = Double.valueOf(str); Converts string to Double object FloatVal = Float.valueOf(str); Converts string to Float object IntVal = Integer.valueOf(str); Converts string to Integer object LongVal = Long.valueOf(str); Converts string to Long object Converting Numeric String to Primitive Number Using Parsing Methods:- Method Calling Conversion Action Int I =Integer.ParseInt(str); Converts string to primitive integer float f =Integer.ParseFloat(str); Converts string to primitive float long l =Integer.ParseLong(str); Converts string to primitive long double d =Integer.ParseDouble(str); Converts string to primitive double
  • 7. 6 | P a g e Converting Primitive Number to object Number:- Output:-
  • 8. 7 | P a g e Converting Object Number to Primitive Number:- Output:-
  • 9. 8 | P a g e Converting Number to String:- Output:-
  • 10. 9 | P a g e Converting String Object to Numeric Object:- Output:-
  • 11. 10 | P a g e Converting Numeric String to Primitive Number:- Output:-
  • 12. 11 | P a g e Auto Boxing and Unboxing:- The auto boxing and Unboxing feature, introduced in J2SE 5.0, facilities the process of handling primitive data type in collection we can use the feature to convert primitive data type to wrapper class type automatically. The compiler generates a cade implicitly to convert primitive type to the corresponding wrapper class type and vise-versa. For Example, Consider the Following Statements: Doubled=98; Double dbl=d.doubleValue(); Using the auto boxing and unboxing feature, we can rewrite the above code as:- Double d=98.42; Double dbl=d; How, the java compiler provide restrictions to perform the following conversions:-  Convert from null type to any primitive type.  Convert to the null type other than the identify conversion.  Convert from any class type C to any array type id C is not object.
  • 13. 12 | P a g e Vector without using auto Boxing and Unboxing:- Output:-
  • 14. 13 | P a g e Vector with using auto boxing and unboxing:- Output:- Nesting of Methods:- We discussed earlier that a method of a class can be called only by an object of that class (or class its self, in the case of static methods) using the dot operator. However, there is an exception to this at method can be called by using only its name by another method of the same class. This is known as Nesting of methods. Program illustrates the nesting of methods inside a class. The class Nesting defines one constructor and two methods namely largest() and display(). The methods display() calls the methods largest() to deter mine the largest of the two numbers and then display the result.
  • 15. 14 | P a g e Nesting of Methods:- Output:-
  • 16. 15 | P a g e Nesting of Methods:- Output:- A method can call any number of methods. It is also possible for a called methods to call mother method. That is, method may call method2, which in turn my call method3.
  • 17. 16 | P a g e THANK YOU