September 2005
Beginner
576 pages
13h 6m
English
| Q1: | Why do some of the byte stream methods in this hour use integers as arguments? Shouldn't they be using byte arguments? |
| A1: | There's a different between the bytes in a stream and the bytes represented by the byte class. A byte in Java has a value ranging from–128 to 127, while a byte in a stream has a value from 0 to 255. You often have to use int when working with bytes for this reason—it can hold the values 128 to 255, while byte cannot. |
| Q2: | Can you suggest any good books to expand into basic Java/database interactions with either Oracle or Microsoft SQL? Also, would this be done with JDBC? |
| A2: | Java software can access relational databases with either Java Database Connectivity (JDBC) or the JDBC-ODBC Bridge. The same techniques are required ... |
Read now
Unlock full access