Question: Which of the following are valid variable declarations: (Select ALL that are correct) int a=7; long b=-2; char c=Y: float d=17.2f; double e=9; Java: boolean
Which of the following are valid variable declarations: (Select ALL that are correct) int a=7; long b=-2; char c="Y": float d=17.2f; double e=9; Java: boolean f=0; C#: bool f=0; Java: boolean g=thme; C#: bool g=true
Step by Step Solution
There are 3 Steps involved in it
Lets evaluate each declaration int a7 Valid An integer can be as... View full answer
Get step-by-step solutions from verified subject matter experts
