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
1
Answer:
stickjksgJHFFVDfFGDBFgdVsXvXv":®℅bzcjczzjgfjzfjzgkxgxjhzjjxgxjxjg
Similar questions
English,
2 months ago
Math,
2 months ago
Math,
5 months ago
English,
11 months ago
Computer Science,
11 months ago
World Languages,
11 months ago