Computer Science, asked by warriorlion, 5 hours ago

Write valid java statement for the following :- (i) To assign 45 to a 4 byte integer memory variable. (i) To assign "Ranchi" to a variable.​

Answers

Answered by singhanil99316423
1

Explanation:

  1. short a= 45;
  2. String str= "Ranchi"
Answered by NamishH2340R
0

Answer:

(i) short a = 45 ;

(ii) String str = "Ranchi"

Similar questions