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
1
Explanation:
- short a= 45;
- String str= "Ranchi"
Answered by
0
Answer:
(i) short a = 45 ;
(ii) String str = "Ranchi"
Similar questions