Hey there! Sign in to join this conversationNew here? Join for free
    • Thread Starter
    Offline

    0
    ReputationRep:
    What does this statement print?

    System.out.println (“a && b is “ + (a && b));


    and what is the use of "+" sign here?
    Please friends reply soon.
    Offline

    16
    ReputationRep:
    This sounds like a homework question. One that you could easily find the answer to by testing it for yourself.
    Offline

    16
    ReputationRep:
    Thanks for negging me for believing it's pointless for other people to answer your homework questions for you. Perhaps you should start putting some effort in and then maybe you would learn something, which is, presumably, the entire point of the exercise.
    • Thread Starter
    Offline

    0
    ReputationRep:
    (Original post by Planto)
    Thanks for negging me for believing it's pointless for other people to answer your homework questions for you. Perhaps you should start putting some effort in and then maybe you would learn something, which is, presumably, the entire point of the exercise.
    For heaven's sake, it wasn't a homework question. I was trying to understand the source code my teacher has provided me... i am somehow unable to trace him... and i am having my exam after a couple of days... nobody is helping me... and the language of my java editor has been turned to some alien kind of language... i am trying to change it but in vain... and there is some problem with the jdk also... and my machine is extremely slow... and i don't have money to buy a better one.
    • Thread Starter
    Offline

    0
    ReputationRep:
    (Original post by Planto)
    Thanks for negging me for believing it's pointless for other people to answer your homework questions for you. Perhaps you should start putting some effort in and then maybe you would learn something, which is, presumably, the entire point of the exercise.
    I know i should try myself but believe me i have and i have failed...
 
 
 
  • See more of what you like on The Student Room

    You can personalise what you see on TSR. Tell us a little about yourself to get started.

  • Poll
    Will you be richer or poorer than your parents?
  • See more of what you like on The Student Room

    You can personalise what you see on TSR. Tell us a little about yourself to get started.

  • The Student Room, Get Revising and Marked by Teachers are trading names of The Student Room Group Ltd.

    Register Number: 04666380 (England and Wales), VAT No. 806 8067 22 Registered Office: International House, Queens Road, Brighton, BN1 3XE

    Quick reply
    Reputation gems: You get these gems as you gain rep from other members for making good contributions and giving helpful advice.