Examveda
Examveda

In Java, what is the purpose of the `File.separator` constant?

A. It represents the parent directory

B. It represents the current directory

C. It represents the platform-specific file separator (e.g., `/` or ``)

D. It represents the ASCII value of the separator character

Answer: Option C


This Question Belongs to Java Program >> Input Output

Join The Discussion

Related Questions on Input Output