Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Explain what are bitwise operators in groovy?



Explain what are bitwise operators in groovy?..

Answer / Paritosh Verma

Bitwise operators in Groovy operate on the binary representation of integers and can be used to perform bit-level manipulation. Some common examples include & (bitwise AND), | (bitwise OR), ^ (bitwise XOR), ~ (bitwise NOT), << (left shift), >> (right shift), and >>> (unsigned right shift). For example: int a = 10, b = 5; int result = a & b; // result is 2

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apache Groovy Interview Questions

What is the default environments in grails?

1 Answers  


How to add stuff to the classpath when running things in groovysh or groovy?

1 Answers  


Explain groovydoc comment?

1 Answers  


What is the role of closure and listeners in groovy?

1 Answers  


List out the differences between groovy and java?

1 Answers  


Explain how you can build ast (abstract syntax trees) in groovy from string?

1 Answers  


How could you retrieve a single value from data base using groovy?

1 Answers  


What is grails?

1 Answers  


What is the license for groovy?

1 Answers  


List the advantages of groovy.

1 Answers  


What do you understand by the concept of thin documentation in groovy?

1 Answers  


What are some features does groovy jdk offers?

1 Answers  


Categories