Home » JAVA Programming » Basic Operators » Question
  1. What is the output of this program?

    public class Result
    {
    public static void main(String args[])
    { int q,r;
    int p=q=r=26;
    System.out.print(+p);

    }
    }
    1. 25
    2. 26
    3. 27
    4. 24
    5. 23
Correct Option: B

output: 26



Your comments will be displayed only after manual approval.