Question 61
Given:

What is the result?
                        
                    
                    
What is the result?
Question 62
Given the code fragment:
public void recDelete (String dirName) throws IOException {
File [ ] listOfFiles = new File (dirName) .listFiles();
if (listOfFiles ! = null && listOfFiles.length >0) {
for (File aFile : listOfFiles) {
if (aFile.isDirectory ()) {
recDelete (aFile.getAbsolutePath ());
} else {
if (aFile.getName ().endsWith (".class"))
aFile.delete ();
}
}
}
}
Assume that Projects contains subdirectories that contain .class files
and is passed as an argument to the recDelete () method when it is
invoked.
What is the result?
                        
                    
                    public void recDelete (String dirName) throws IOException {
File [ ] listOfFiles = new File (dirName) .listFiles();
if (listOfFiles ! = null && listOfFiles.length >0) {
for (File aFile : listOfFiles) {
if (aFile.isDirectory ()) {
recDelete (aFile.getAbsolutePath ());
} else {
if (aFile.getName ().endsWith (".class"))
aFile.delete ();
}
}
}
}
Assume that Projects contains subdirectories that contain .class files
and is passed as an argument to the recDelete () method when it is
invoked.
What is the result?
Question 63
Given the content of Operator.java, EngineOperator.java,and Engine.javafiles:

and the code fragment:

What is the result?
                        
                    
                    
and the code fragment:

What is the result?
Question 64
Given: What is the result?

                        
                    
                    
Question 65
Given the code fragment:

What is the result?
                        
                    
                    
What is the result?
            