File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
REST with Spring (video course)
this week in the
problem with the same data type and class
Joined: Jul 13, 2008
Jan 29, 2009 06:52:11
(data type and class) of
have the same name?no other data type like this in java?
Joined: Aug 03, 2008
Jan 29, 2009 07:10:54
String is not a datatype. It's just a class. It just have some special treatment by the compiler because of which you can write this
String s = "Hello World";
The compiler internally converts this into
String s = new String("Hello World");
SCJP 6 | SCWCD 5 |
Javaranch SCJP FAQ
I agree. Here's the link:
subject: problem with the same data type and class
Precision loss in String to Float and double to float
Same class name and data type.......
Array questions about Object
Doubt in using bean
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015