why the primitive data type have classes?

Answer Posted / zoozoo

because primitive datatypes cannot directly be used through network, like we cannot send them to one n/w to another. so by using wrapper classes to wrap them into objects, which can be sent through n/w.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you write a loop indefinitely in java programming?

750


What is purpose of applet programming?

887


Make a data structure and implement an algorithm to print all the files in a directory. (The root directory can have sub-directories too.)

1067


Does constructor creates the object ?

794


How many threads can java run?

803


Does treeset allow null in java?

701


what is thread? What are the high-level thread states? : Java thread

1009


If a variable is declared as private, where may the variable be accessed?

790


Does java trim remove newline?

720


What is mysql driver class name?

799


Is java a virus?

717


What do you understand by an io stream?

791


Why there is no call by reference in java?

688


When will we use them?

802


What two classes are used to read data only?

843