Question: Which statement can be used to initialize a variable in Java? 2 0 = int total _ rings; initialize total _ rings = 2 0
Which statement can be used to initialize a variable in Java?
int totalrings;
initialize totalrings as integer
totalrings
int totalrings ;
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
