Which of the following statements is not equivalent to File name = new File( "c:\\books\\2009\\files.txt" ) ;
Assume we are currently in the directory c:\books.
A) File name = new File( "c:\\books\\2009","files.txt" ) ;
B) File name = new File( "files.txt" ) ;
C) File name = new File( "2009","files.txt" ) ;
D) All of the above are equivalent to the statement in the question.
Correct Answer:
Verified
Q2: What does the following statement do? Scanner
Q3: Which of the following is arranged in
Q4: Which of the following statements is false?
A)The
Q6: What interface must a class implement to
Q8: When all the contents of a file
Q10: Which of the following is not an
Q13: Which of the following classes enable input
Q19: Records in a sequential file are not
Q20: Streams that input bytes from and output
Q26: Instance variables that are not to be
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents