Search Interview Questions | Click here and help us by providing the answer. Click Correct / Improve and please let us know. |
|
|||
|
| ||||
| Core Java - Interview Questions and Answers for 'Bitwise operators' - 2 question(s) found - Order By Newest | ||||
| Ans. Both bitwise right shift operator ( >> ) and bitwise zero fill right shift operator ( >>> ) are used to shift the bits towards right. The difference is that >> will protect the sign bit whereas the >>> operator will not protect the sign bit. It always fills 0 in the sign bit. | ||||
| ||||
| Ans. && is a Logical whereas & is a bitwise operator | ||||
1. new OuterClass().new InnerClass(); 2. new OuterClass.InnerClass(); | ||||