1. what is the difference between exception and error. How did u solve the errors in the code deployment?
Exception is a runtime error that can be handled, while error is a severe issue that cannot be handled.
Exceptions are caused by the program logic, while errors are caused by external factors like hard...read more
Exception is a runtime error that can be handled, while error is a serere issue that cannot be handled
Exception is a program interruption that can be handled during execution, preventing crashes. Error is a more severe problem that hinders program functionality and requires developer intervention. Cod...read more
It mainly occurs in the code written by the developers. Exceptions are divided into two categories such as checked exceptions and unchecked exceptions.
It mainly occurs in the code written by the developers. Exceptions are divided into two categories such as checked exceptions and unchecked exceptions.
Basically exception is two types :-1.predefined exception and 2.userdfined exception and another error is also two types :-1.run time error 2.compile time error. By solving the exception def key word ...read more
Ok thank you give these opportunities Error computer never make error only man can make error . He /she forgot number when typing thus why they is a mistake. In computer we already arranged also codes...read more
Exception is a run time error. Error is done by us by writing an error in construction of the code. Exception is done by machine at run time.
Exception is a one type of block level Statment it used in the programming language for multiple stmts in a single program in order to solve the exception by using keyword 'exception' in the program. ...read more
A = input() Print(A)
The error implies a problem that mostly Aries due to shortage of system resources on the other hand ,the exceptions occur during runtime and compile time
Error is the one which thrown by default if program is either run time or while compile but exception is the error which is specified by the developer for specific scenarios as per their requirements.
Exceptional is fine handling function so it's very difficulty fun
if a code has a bug(requirements unsatisfied like syntax, logical,etc.,) then it raise Error,
if an error is to be handled within the code Exception is applied.
for example:
#sample python program
Top Infosys Software Developer interview questions & answers
Popular interview questions of Software Developer
Reviews
Interviews
Salaries
Users/Month