Computer Science, asked by sana961, 11 months ago

int b=Integer.parseInt("444",16);
System.out.println(b);

Output:1092
How will this output come?
How will the answer come as 1092?

Answers

Answered by RohitSaketi
16
4*256+4*16+4*1

1092

4*(16**2)+4*(16**1)+4*(16**0)

It states that the given number is in hexadecimal format

We have to convert it to decimal format


RohitSaketi: we should not chat in comments box its against rules
Anonymous: yep..bye ..kya pta..kl ho n ho..xD
Anonymous: tc
Anonymous: how can u be so heartless
RohitSaketi: arey priyanka (°ー°〃) meine kya kiya re .. ab thak offline hun mein.. whwts the other option??(¯―¯٥)
Anonymous: I was checking u...don't lie ..I know u were online....that's it..no more chatting again
RohitSaketi: hey r u serious??? i wasnt online from 1 to 3 .. before tgat im there ..but i dint see notifications..coz they dont pop up .. enabled that feature only for hangout i swear
RohitSaketi: and there z some problem wirh Brainly as well it shows online eventhough we were offline ask amyone if u dont believe me
RohitSaketi: ok deleting account? Goodbye take care of urself and mainly barsha ..Bbye
Anonymous: okh..
Answered by motluuletluu137
0

Answer:

Hello I am nandini text me . I need your help its urgent please.

Explanation:

Similar questions