What is the difference between the >> and >>> operators?

Answer Posted / shweta

The >> operator carries the sign bit when shifting right.
The >>> zero-fills bits that have been shifted out.

Is This Answer Correct ?    3 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is static keyword in java?

555


How thread scheduler schedule the task?

585


how does multithreading take place on a computer with a single cpu? : Java thread

697


What is static in java?

561


What is a numeric digit?

586






What are java methods?

578


How to sort an array from smallest to largest java?

548


How finally used under exception handling?

516


What is sorting algorithm in java?

527


What is the implementation of destroy method in java. Is it native or java code?

488


Why does it take so much time to access an applet having swing components the first time?

1398


What is binary tree in java?

537


Define an enumeration?

615


How do you print array in java?

557


Can we convert stringbuffer to string?

566