Data Types


The C++ and Java languages define many of the same types ” int , short , long , float , double , to name a few. Java does not support structures or unions so there are no struct or union types in Java. Java also does not support unsigned integer types. All Java integral types (including char ) are signed. Both Java and C++ define a boolean type. Java calls it boolean . C++ calls it bool . Other types not included in the Java language are pointer and void types. Java provides the byte type, representing a single byte of data, that C++ does not.



Technical Java. Applications for Science and Engineering
Technical Java: Applications for Science and Engineering
ISBN: 0131018159
EAN: 2147483647
Year: 2003
Pages: 281
Authors: Grant Palmer

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net