40 of 60
What is the output of the following program -
public class testinor
{
public static void main(String args()
{
int i = 0;
i = i++ + 1;
System.out.println("1 = " +i);
}
}
Answers
Answered by
2
Answer:
Given códe:
public class testinor{
public static void main(String args(){
int i = 0;
i = i++ + 1;
System.out.println("1 = " +i);
}
}
To find:-
- output
Solution:-
Similar questions
Computer Science,
1 month ago
English,
1 month ago
Environmental Sciences,
1 month ago
Math,
2 months ago
Social Sciences,
9 months ago
Hindi,
9 months ago
Math,
9 months ago