Answer:
Option A: FileNotFoundError
Explanation:
FileNotFoundError is an exception which is thrown when a program fail to open a specified file. The root causes of this type of error can be:
- The directory path to locate a target file is wrongly defined in our code due to a typo on the file name or misuse of relative directory path, such as ../ and ./ which denote two different paths.
- For some reasons, a target file is misplaced in a wrong directory.
Any one of the above reasons can lead to the exception to be thrown when the file doesn't exist.
Answer:
The answer to this question is "Screen Tip".
Explanation:
In the operating system, there are many software. In this software, there is an option of the screen tip. screen tip is a small window that displays detailed text.
For example :
If we start a paint software and we point the mouse on the pencil tool it display the detail of that tool like "Draw free-from line with a selected line width".
Explanation:
The advantages of java.util.Stack are as following:-
- java.util.Stack is an implementation of the vector class hence it can keep track of position of elements in the stack hence it is not required to store an additional pointer for each node.
- In the implementation it allocates space only that much is needed.
These are the two advantages of java.util.Stack.