Computer Science, asked by TbiaSamishta, 1 year ago

if an iterator is accessed when it has no elements.which error occurs

Answers

Answered by bhubansamal5
7

Don't know what is the best answer of this question so plz don't worry

Answered by orangesquirrel
3

If an Iteration is accessed when it has no elements, Compile time error occurs.


Compile Time error is an error that prevents the compiler from successfully compiling the program and generating its outcome.


It is also referred to as Syntax error. Certain cases of Syntax error are:


Variables are wrongly defined, semicolons are missing, mixing of upper case and lowercase, no elements defined properly and so on.

Debugging helps to find out these errors.

Similar questions