Java Tricky Code Snippets - Episode #1

preview_player
Показать описание
The program is:

public class Main{

public static void main(String[] s){
int i = 5;
i = i++;
i = ++i;
}
}

Watch the video to know the output.
Рекомендации по теме
Комментарии
Автор

Share your face book/LinkedIn link where you post these questions

chinmayabhatkk
Автор

Sir you have very board but i don't know why you are writing so small, invisible letter 😞😞😞

Mulllana_Haramudil-AlHarami
Автор

You do not explain things in a better way.

tarunagarwal
Автор

I have tried this code in java but it is printing 7

saiomand
Автор

abe itna simple explaination ko itna complicate q kr diye ho....

VivekRaj-rzze
Автор

Sir I respect u but your explanation is not better

Amankumar-wqnk