πŸ“Š JAVA
Q. What will be the output of the following Java program?
Code:
class increment 
{
    public static void main(String args[]) 
    {        
         int g = 3;
         System.out.print(++g * 8);
    } 
}
  • (A) 25
  • (B) 24
  • (C) 32
  • (D) 33
πŸ’¬ Discuss
βœ… Correct Answer: (C) 32

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
69
Total Visits
πŸ“½οΈ
11 mo ago
Published
πŸŽ–οΈ
Vinay
Publisher
πŸ“ˆ
80%
Success Rate