What do you mean by: Syntax Error, Logical Error, Runtime Error?
Answer Posted / prathap reddy
A logic error (sometimes called a semantic error) is a bug
in a program that causes it to operate incorrectly, but not
to terminate abnormally (or crash). A logic error produces
unintended or undesired output or other behavior, although
it may not immediately be recognized as such
A syntax error ( IPA: /ˈsɪntæks ɛrə(ɹ)/ ) refers to an
error in the syntax of a sequence of characters or tokens
that is intended to be written in a particular programming
language.For compiled languages syntax errors occur
strictly at compile-time.
A runtime error is a computer error that appears in the
form of a message box consisting of a particular code along
with its corresponding definitions. Usually, a user will
notice that the computer becomes noticeably slow before a
runtime error appears.
Is This Answer Correct ? | 29 Yes | 8 No |
Post New Answer View All Answers
In depth questions regarding the data structures and the Databases used in the Projects developed.
What is comparator interface used for?
Mention some drawbacks of the linked list.
Explain Queue
What is the impact of signed numbers on the memory?
Can you distinguish between ArrayList and Array?
What is the difference between hashset and hashmap?
When is a binary search algorithm best applied?
What is int data type?
Is treemap thread safe?
Why is reflection slower?
Is arraylist faster than array?
How is a queue works?
Will arraylist maintain insertion order?
Is heap sort stable?