Meenaakshi Bala Shanmugam wrote:public class check {
public static void main(String[] args) {
System.out.println(0x10 + 10 + 010);
}}
when the program runs it produces 34 as output.
can somebody tel the reason
Do you know the difference between octal, decimal, and hexadecimal numbers? Basically... 16 + 10 + 8 => 34.
Henry