Answer the question
In order to leave comments, you need to log in
How are bit operations in Java different from C?
Good afternoon, I apologize for a possibly stupid question, but
what is the difference between bitwise operations in Java and C?
As I understand it, you can also write an OS for a PC in Java, but why was Java chosen for Android, and not C?
And in general, is there some dependence that if a language can work with memory, then it is more successful for writing Servers?
Answer the question
In order to leave comments, you need to log in
There are no unsigned integer primitive types in Java, hence all sorts of dances with a tambourine like . You can also write an OS in Java , and it works quite well, but apparently, it has long been abandoned. Android is primarily Linux, and the JVM is spinning there already in user-space; especially since applications are more pleasant to write in some higher-level language than C/C++ . x & 0xff
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question