1. Question:Define exceptions.
               

    Answer
    In programming, often involves unforeseen happenings that disrupt the flow of events.These  unexpected happenings are known as exceptions.

    1. Report
  2. Question:Define exceptions?

     

    Answer
    Programming, like the real world, often involves unforeseen happenings that disrupt the flow of events. In programmer’s lingo, these unexpected happenings are known as exceptions.

    1. Report
  3. Question:what is the difference between Exception::getMessage and Exception::getLine ? 

    Answer
    Exception::getMessage lets us getting the Exception message and Exception::getLine lets us getting the line in which the exception occurred.

    1. Report
Copyright © 2024. Powered by Intellect Software Ltd