what is the difference between ERROR and EXCEPTION?

Answer Posted / prashant kalmodiya

ERROR : Occurs at complile time

EXCEPTION : Occurs at runtime

Is This Answer Correct ?    51 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is advantage of inheritance?

906


What is pure oop?

819


Which is better struts or spring?

791


What is the benefit of oop?

738


What is encapsulation and abstraction? How are they implemented in C++?

826


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’.

1970


How to improve object oriented design skills?

738


what's the basic's in dot net

1904


What are classes oop?

778


What do you mean by overloading?

775


What is polymorphism explain its types?

888


What is encapsulation in oop?

771


what are the ways in which a constructors can be called?

1771


What is basic concept of oop?

874


class CTest { public: void someMethod() { int nCount = 0; cout << "This is some method --> " << nCount; } }; int main() { CTest *pctest; pctest->someMethod(); return 0; } It will executes the someMethod() and displays the value too. how is it possible with our creating memory for the class . i think iam not creating object for the class. Thanks in Advance... Prakash

1937