πŸ“Š JAVA
Q. Which of the following are legal lines of Java code?
1. int w = (int)888.8;
2. byte x = (byte)100L;
3. long y = (byte)100;
4. byte z = (byte)100L;
  • (A) 1 and 2
  • (B) 2 and 3
  • (C) 3 and 4
  • (D) All statements are correct
πŸ’¬ Discuss
βœ… Correct Answer: (D) All statements are correct

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
71
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Vijay Sangwan
Publisher
πŸ“ˆ
99%
Success Rate