Find the output of the given program- public class Test3 {
public static void main(String[] args)
{
int a=20,b=10;
b=a++ + a++;
if((a+b) && (b++ <25))
{
System.out.println("NOKIA");
}
if(a {
System.out.println(a);
}
}
Share
Find the output of the given program- public class Test3 {
public static void main(String[] args)
{
int a=20,b=10;
b=a++ + a++;
if((a+b) && (b++ <25))
{
System.out.println("NOKIA");
}
if(a {
System.out.println(a);
}
}
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
0 Replies