What is the output of following Java language code?
public class Main
{
public static void main(String[] args) {
short a = 5;
a = a * 5;
System.out.print(a);
}}
1
no output
2
Error
3
5
4
25
What is the output of following Java language code?
public class Main
{
public static void main(String[] args) {
short a = 5;
a = a * 5;
System.out.print(a);
}}