Home / MCQ Bank / Computer
Computer Interfaces And Abstract Classes Difficulty: Medium

What will be the output of the following Java program? (Note: file is made in c drive.) import java.io.*; class files { public static void main(String args[]) { File obj = new File("/java/system"); System.out.print(obj.getAbsolutePath()); } }

Select the correct option to test your answer:

More Computer Questions

Which NLP technique involves analyzing the structure and content of a document to extract useful information? Which of the following is the most suitable definition of radix sort? Which of the following is used for testing for membership in the list of column names? What does the lambda keyword return in Ruby? Which property lays the element according to the normal flow?