PLZ CAN ANYONE EXPLAIN ME BIT WISE OPERATOR and tell what's the use practically [This message has been edited by Dishi Malhotra (edited March 04, 2001).]
As for practical uses, I think they mainly exist for completeness. I have never used them in anything yet, but I am glad they exist in case I ever need them.
Bitwise operators are really good when you need to get small size or high performance. There are a lot of places where you could use it, but to be really honest, you wouldn't be using Java then.
Early on Java was intended to be used mostly for embedded systems. Since bitwise operators are helpful in lowlevel or machinelevel programming, these come into handy for these systems. Other than that there is not much use of these. cheers Siva Prasad
I can't give an example, but I think you could them like a very primitive binary array - eg. 1100 would an array of 4 elements with 2 true/2 false. Memory isn't a big issue these days, but a few years back this was probably more useful because it uses so little space.
Mo-om! You're embarassing me! Can you just read a tiny ad like a normal person?
a bit of art, as a gift, that will fit in a stocking