Computer Science, asked by jee133, 2 months ago

7. Ternary to if
Ex: char g = 'A'; System.out.print((g=='A')?“first class":"second class");
Ans: char g= 'A';
if (g== 'A') System.out.print("first class");
else System.out.print("second class");​

Answers

Answered by ironman5832
1

Answer:

stickjksgJHFFVDfFGDBFgdVsXvXv":®℅bzcjczzjgfjzfjzgkxgxjhzjjxgxjxjg

Similar questions