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

How does predicate work in java?

533


What are the different types of methodologies?

526


What are structs in java?

569


Does java support multiple inheritance or not?

595


Can we cast any other type to boolean type with type casting?

536






What is the meaning of variable in research?

556


What do you mean by of string::valueof expression in java 8?

539


What does a void function return?

547


How does list work in java?

504


What is arrays fill in java?

542


Is age a discrete variable?

526


Define jre i.e. Java runtime environment?

572


give an example for encapsulation?

581


Can I declare a class as private?

586


How is treeset implemented in java?

488