Computer Science, asked by adithyajayaraju, 5 months ago

how store number in a string value​

Attachments:

Answers

Answered by dur123pra45
0

Answer:

I am not so perfect in computer science

Explanation:

HOPE IT HELPS YOU MARK AS BRAINLIEST ANSWER

Answered by anindyaadhikari13
1

Question:-

Write a Java statement for the following.

Solution:-

Number 1.

Store a number 275 as a String in variable k.

Code>>

String k=275+"";

Number 2.

Add 100 to the existing value of the variable q.

Code>>

q=q+100 or in short

q+=100

Similar questions