Hello everyone!
I need some help with bitpatterns. I've read a chapter about it in
java 2 study guide and I've altso red cat and mice in campfire. I have some question though.
This is how I think it is. When shifting >>>
the bitpattern will be filled with 0. When shifting << the bitpattern will be filled with 0. When shifting >>, if the bittpattern is negativ it will be filled with 1 else it will be filled with 0.
example 0000110 >> 2 gives 0000010
Please confirm or correct. If anyone can explain 64 or 32 bits then I will be happy.
// Snylt Master
[This message has been edited by Snylt Master (edited July 09, 2001).]