what is the difference between ERROR and EXCEPTION?
Answer Posted / bhagya lakshmi
error is during compilation time it occurs without we post
and exception is we post it with throw,catch
Is This Answer Correct ? | 11 Yes | 3 No |
Post New Answer View All Answers
How do you define social class?
Why do we use inheritance?
What are the benefits of interface?
write a code for this. serial_number contained in the header of the file will be read , if this serial number is less than a previous serial number within a successfully processed file, or is the same as another serial number within a successfully processed file, or if the field contains anything other than 7 digits, then the file must error with the reason ‘Invalid SERIAL_NUMBER’.
What is encapsulation in oops?
What is the advantage of oop over procedural language?
Can enum be null?
Give an example where we have to specifically use C programming language and C++ programming language cannot be used?
What do you mean by Encapsulation?
Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer
What are the 4 pillars of oop?
Get me a number puzzle game-program
What is abstraction encapsulation?
Why do we use polymorphism in oops?
What is this pointer in oop?