What output is produced by the following code fragment?

```
int limit = 100, num1 = 15, num2 = 40;
if (limit <= limit)
{
if (num1 == num2)
System.out.println("lemon");
System.out.println("lime");
}
System.out.println("grape");
```


The output is:
lime
grape

Computer Science & Information Technology

You might also like to view...

Provide the equivalent tuple relational calculus and domain relational calculus expressions for each of the relational algebra queries given in Exercise 4.8.

a) ?hotelNo (?price ? 50 (Room) ) b) ?Hotel.hotelNo ? Room.hotelNo(Hotel ? Room) c) ?hotelName (Hotel Hotel.hotelNo ? Room.hotelNo (?price ? 50 (Room)) ) d) Guest (?dateTo ? ‘1-Jan-2007’ (Booking)) e) Hotel Hotel.hotelNo ? Room.hotelNo (?price ? 50 (Room)) ) f) ?guestName, hotelNo (Booking Booking.guestNo ? Guest.guestNo Guest) ?

Computer Science & Information Technology

What extension should be used to name HTML files?

(a) .html (b) .zip (c) .bat (d) none of the above.

Computer Science & Information Technology

By default JScrollPane ________.

a. always displays scrollbars b. never displays scrollbars c. only displays scrollbars if they are needed d. None of the above

Computer Science & Information Technology

If the computer has been rebooted and you cannot find your document, you can use the Windows Explorer ________ command to look for it

Fill in the blank(s) with correct word

Computer Science & Information Technology