13. Given the following method in an application:

1. public String setFileType( String fname ){
2.  int p = fname.indexOf( '.' );
3.  if( p > 0 ) fname = fname.substring( 0,p );
4.  fname += ".TXT";
5.  return fname;
6. }

and given that another part of the class has the following code:

7.  String TheFile = "Program.java";
8.  File F = new File( setFileType( TheFile ) );
9.  System.out.println( "Created " + TheFile );

what will be printed by the statement in line 9?

    Select 1 correct answer:
 A. Created Program.java
 B. Created Program.txt
 C. Created Program.java.txt
