• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

regarding Java binaries introduced in Java7

 
Sarath Kalangi
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi What's the main purpose of introducing binaries in java7 version?

because it is very hard to remember those "1 0" and do manipulations with those binaries.
 
Campbell Ritchie
Sheriff
Posts: 48652
56
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you mean by binaries? Do you mean binary integer literals? They are very useful, allowing you to see and compare bit patterns. I think you need to learn some general computing, including binary arithmetic.
 
Sarath Kalangi
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When we trying to compute some logic inside the loop then its very hard to handle with binaries and more over we are trying to increase the complexity of the program using binaries.

I rather use binaries when i was trying to do graphical programming then its very easy to compare different colors using binaries.
 
Campbell Ritchie
Sheriff
Posts: 48652
56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sarath Kalangi wrote:[When we trying to compute some logic inside the loop then its very hard to handle with binaries and more over we are trying to increase the complexity of the program using binaries.
. . .
What on earth does that mean?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic