Computer Science, asked by anwesha2060, 2 months ago

Write a Java statement to declare an integer variable c and initialize it with 45.​

Answers

Answered by rpvvipex912152
1

Answer:

You can define a variable as an integer and assign a value to it in a single declaration. For example: int age = 10; In this example, the variable named age would be defined as an integer and assigned the value of 10.

Explanation:

Similar questions