A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Programmer Certification (SCJP/OCPJP)
Joined: Nov 12, 2000
Dec 26, 2000 12:11:00
how does numbers are represanted in java.for instance how
number 4 is represented.how to convert any number in binary
Enthuware Software Support
Joined: Sep 23, 2000
Dec 26, 2000 12:16:00
There is a static method toBinaryString(int) in Integer class. Play with it a little and you'll understand.
Get Certified, Guaranteed!
(Now Revised for the new
Enthuware - Best Mock Exams and Questions for Oracle/Sun Java Certifications
Quality Guaranteed - Pass or Full Refund!
Joined: Aug 30, 2000
Dec 26, 2000 20:07:00
I've some notes on working with binary, hex, and octal numbers at
Hope they help.
The cure for boredom is curiosity.
There is no cure for curiosity.
-- Dorothy Parker
Mike Meyers' Java 2 Certification Passport
I agree. Here's the link:
Explaination for BITWISE OPERATIONS
How would you approach this question...
print out random number and state odd/even
Random numbers without repeatation
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013