Answer:
Root
Explanation:
Linux is an open source operating system which receives command from the user and communicates with the hardware, and in Linux the root directory is the top level directory that contains all other directory, it is not recommended to create files and folders in the root directory because the commands the user enters may change files that the operation system may depend on for usage.
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.