"bluej".length()) ? true: false; - Computer Applications | Shaalaa.com" /> "bluej".length()) ? true: false; " /> "bluej".length()) ? true: false;" />
English

Predict the output of the following: boolean p; p = ("BLUEJ".length() > "bluej".length()) ? true: false; - Computer Applications

Advertisements
Advertisements

Question

Predict the output of the following:

boolean p; 
p = ("BLUEJ".length() > "bluej".length()) ? true: false;
One Word/Term Answer

Solution

false

shaalaa.com
  Is there an error in this question or solution?
Chapter 4: String Handling - EXERCISES [Page 287]

APPEARS IN

Avichal Computer Applications [English] Class 10 ICSE
Chapter 4 String Handling
EXERCISES | Q IV. 3. | Page 287
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×