A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
forum!
JavaRanch
»
Java Forums
»
Certification
»
Programmer Certification (SCJP/OCPJP)
Author
Shift Operarot
Sujittt Tripathyrr
Ranch Hand
Joined: Jun 21, 2006
Posts: 96
posted
Jul 11, 2006 22:10:00
0
What is use of <<< operator in
java
.
I want some examples.
Thanks
Keith Lynn
Ranch Hand
Joined: Feb 07, 2005
Posts: 2341
posted
Jul 11, 2006 22:17:00
0
<<< is not an operator in Java.
Do you mean >>>?
Sujittt Tripathyrr
Ranch Hand
Joined: Jun 21, 2006
Posts: 96
posted
Jul 11, 2006 22:37:00
0
yes
Keith Lynn
Ranch Hand
Joined: Feb 07, 2005
Posts: 2341
posted
Jul 11, 2006 22:46:00
0
>>> is the unsigned right shift operator.
This is necessary because the normal right shift operator >> will shift bits in from the left, but will preserve the sign.
The leftmost bit in the bit representation of a number indicates its sign.
>>> will force 0 to be shifted in even if the number is negative.
wise owen
Ranch Hand
Joined: Feb 02, 2006
Posts: 2023
posted
Jul 11, 2006 23:03:00
0
How do the '>>', '>>>', and '<<' operators work?
I agree. Here's the link:
http://aspose.com/file-tools
subject: Shift Operarot
Similar Threads
how to display text in angular brackets in jsp
adding Dynamic text boxes using struts
Compilation differences between Linux and Windows
browser compatibilty mozila and IE
ask for solution to encode less than sign in string to make the string xml-compliant
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter