How to add two integer numbers in java using jshell on windows?

preview_player
Показать описание
We can add two integers value from command prompt using jshell in java. It is pretty simple steps to get result on the terminal.

### Code ###
int a = 10;
int b = 5;
int result = a + b;
Рекомендации по теме