what is the difference between ERROR and EXCEPTION?
Answers were Sorted based on User's Feedback
Answer / aayansh
Exceptions are mostly software or hardware problems where as errors are logical or syntactic.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / amar gawade
errors are unresolved syntax or mistakes where exceptions are runtime errors.
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / suresh
Error is a mistake and it occurs are Compile time...
Exception says what is the mistake...it occurs at run time..
| Is This Answer Correct ? | 3 Yes | 5 No |
Answer / d.raji
Error: we can find it(Which error occured) when compliation.
Exception: we can't find it(Which error occured)when
compliation and also in running time
| Is This Answer Correct ? | 2 Yes | 5 No |
A file pointer always contains the __________ of the file
Why do we use oop?
for example A,B,C,D are class all the 4 class contain one method who() but the method who() implementaion is differnet among each class. the relation among the 4 class are A is base class and is inherited by B and C.and from this two B and C where D is inherited. the question is i want to display the output who() method in all the classes(A,B,C,D)the output of who() method is diferrent amond all the class(A,B,C,D) ------A------ virtuval who(print a) override | | who(print b) B C override who(print c) | | -------D------ override who(print d)
What is destructor give example?
what is the difference between containership and inheritence?
difference between abstraction and encapsulation with progarammatic eg. hi,just recently i went for an interview .The interviewer asked what is the difference between abstraction and encapsulation with programmatic eg. I gave the answer as encapsulation mean hiding the relevant data which is not useful for the user, eg a electric fan .hiding the information how the electricity is converted into machanical energy. abtraction showing only the relevant data to the user eg electric fan. it look ,its color ,it design etc only relevant data. Then the interviewer asked me, give me some programmic eg .I Said Let assume a web form having control like textbox,button etc. The user can view textbox,button etc this is the eg of abstraction and when the user click on the button how he is redirected is not known by the user is the eg of the encapsulation. Am I Correct .was the answer given by me is perfect .now i am planing to go for an another interview should i give the same answer.IF not please suggest me a better answer.with some good eg Please help
I am developing a payroll system mini project.I used file concept in program for reading and writing.When the program is reloading into the memory that is if i execute next time the file was cleaned and adding data from the starting this is my problem.I want to strore the previous data and if i want to add any record that should be next of previous data.Please help me.
Can enum be null?
what is the difference between class to class type conversion and copy constructor ?
What is the differances between a abstract calss and interface
Tell us about yourself.
47 Answers ABB, Amazon, Fidelity, Flextronics, Franklin Templeton, HCL, Hexaware, IBM, Impetus, Infosys, Reliance, Rofous, Silgate, Sutherland, TCS, Thomson Reuters, Virtusa, Wipro,
Difference between vector and array