Computer Science, asked by dhruv0092, 1 year ago

pllz tell me question 2(a)1​

Attachments:

Answers

Answered by vivekkumar36
2
65 is the value of res because the ASCII code of A is 65 . hope it help you...

dhruv0092: what is this ASCII code
amannishad0512p5zxh6: I am telling you
amannishad0512p5zxh6: 1st of all mark me brainlest
amannishad0512p5zxh6: ASCII full form is American Standard Code for Information Exchange
amannishad0512p5zxh6: That means ,in java has its well defined code for character value
amannishad0512p5zxh6: 65-90 A-Z
amannishad0512p5zxh6: 97-122 a-z
amannishad0512p5zxh6: 32 for space
amannishad0512p5zxh6: See the pic I have attached so that you could understood Ascii codes well
Answered by amannishad0512p5zxh6
0

Q-2    (a)     res = 65                               Because  here implicit  type conversion happens,it converts into  bigger data type int  so ,ASCII value of 'A' is 65.

(ii)  import java.lang.*;   package


Hope it will help you @

Mark me brainlest !!

Attachments:

amannishad0512p5zxh6: Mark me brainlest @
amannishad0512p5zxh6: I am 1st to answer
amannishad0512p5zxh6: Follow me for your java questions to be solved.
amannishad0512p5zxh6: I am lover of java.
amannishad0512p5zxh6: Ask anything else ,if you want in java
amannishad0512p5zxh6: I love to learn java
amannishad0512p5zxh6: Ask me more and more doubts related to java
amannishad0512p5zxh6: Follow me and mark me brainlest
Similar questions