1. what is the difference between exception and error. How did u solve the errors in the code deployment?

AnswerBot
1y

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

Anonymous
5mo
In programming, the terms "exception" and "error" are often used interchangeably, but they have slightly different meanings: Error: Generally refers to any unexpected problem or condition that prevent...read more
Payal Balbude
9mo
Exception is the handling between the run time program but error we can't solved because it's the server side error
Anonymous
1y

Exception is a runtime error that can be handled, while error is a serere issue that cannot be handled

Mukesh kumar Mallick
1y

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

Gagan Singh
1y

It mainly occurs in the code written by the developers. Exceptions are divided into two categories such as checked exceptions and unchecked exceptions.

kapil dev
1y

It mainly occurs in the code written by the developers. Exceptions are divided into two categories such as checked exceptions and unchecked exceptions.

Anonymous
1y

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

James Priskilla
1y

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

MAMILLA KAVYA
1y

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.

Anonymous
1y

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

Anonymous
1y

A = input() Print(A)

ROSHAN GUPTA
1y

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

SACHAYANTHAN V
1y

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.

Anonymous
1y

Exceptional is fine handling function so it's very difficulty fun

Anonymous
2y

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

d...read more
Add answer anonymously...
Infosys Software Developer Interview Questions
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+

Reviews

4 L+

Interviews

4 Cr+

Salaries

1 Cr+

Users/Month

Contribute to help millions
Get AmbitionBox app

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter