Results 1 to 4 of 4

Thread: Assertions

  1. #1
    LovJava is offline Member
    Join Date
    Jan 2010
    Posts
    24
    Rep Power
    0

    Default Assertions

    HI EveryBody,

    assert Expression1:Expression2;

    As like above syntax of the assertion.
    Expresssion1 must be boolean
    Experssion2 must be value

    my question is why we are using expression 2? wat is the use of it?.

  2. #2
    r035198x is offline Senior Member
    Join Date
    Aug 2009
    Posts
    2,388
    Rep Power
    7

    Default

    What does the tutorial/book say?

  3. #3
    LovJava is offline Member
    Join Date
    Jan 2010
    Posts
    24
    Rep Power
    0

    Default

    In my tutorial i didnt get it. So i am asking .

  4. #4
    r035198x is offline Senior Member
    Join Date
    Aug 2009
    Posts
    2,388
    Rep Power
    7

Similar Threads

  1. Assertions on Eclipse
    By jon80 in forum New To Java
    Replies: 1
    Last Post: 05-19-2008, 03:25 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •