What will the result of the following code:
public class Main
{
public static void main(String args[])
{
int a = 21; b = 2;
int num = a / b;
System.out.println(num);
}
}
1
आउटपुट: num का मान 10.5 होता है
2
रन-टाइम त्रुटी
3
कंपाइलेशन त्रुटी
4
इनमें से कोई नहीं