ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories  >>  Software  >>  Core Java  >>  Java J2EE  >>  Java Related
 
 


 

 
 Core Java interview questions  Core Java Interview Questions
 Advanced Java interview questions  Advanced Java Interview Questions
 Swing interview questions  Swing Interview Questions
 EJB interview questions  EJB Interview Questions
 Servlets interview questions  Servlets Interview Questions
 Struts interview questions  Struts Interview Questions
 JDBC interview questions  JDBC Interview Questions
 JMS interview questions  JMS Interview Questions
 SunOne interview questions  SunOne Interview Questions
 J2EE interview questions  J2EE Interview Questions
 Weblogic interview questions  Weblogic Interview Questions
 Websphere interview questions  Websphere Interview Questions
 Java Networking interview questions  Java Networking Interview Questions
 Java J2EE AllOther interview questions  Java J2EE AllOther Interview Questions
Question
What is the purpose of the File class?
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What is the purpose of the File class?
Answer
# 1
The java.io.File class abstracts a filename and directory
pathnames. It provides useful methods to perform some basic
filesystem operations such as, verifying the existance of a
file, getting the absolute or relative path of a file,
verifying if a path refers to a directory or file, verifying
the permissions on a File, checking the file length,
create/remove folders, etc.
 
Is This Answer Correct ?    3 Yes 0 No
Ranganathkini
 
  Re: What is the purpose of the File class?
Answer
# 2
fileclass is used to read or write data from and to the file
 
Is This Answer Correct ?    1 Yes 1 No
Ravikiran
 
 
 

 
 
 
Other Core Java Interview Questions
 
  Question Asked @ Answers
 
what is difference between set and list in collection? Satyam3
What is run time polymorphism? Elementus-Technologies6
when asub class inherits a super class and overrides a public method of super class in sub class(public method in super class). why these methods needs to be public in sub class. (otherwise compile time error).  2
what is the output ? Math.floor(-2.1) a)2 b)-2 c)-3.0 d)0 Accenture2
Why Java is not purely object oriented? Persistent21
how can i connect to database in a applet ?  1
If you are reviewing the code of your team members, what points will you look at, assuming the performance of the application is not so great KPIT2
write the hierarchy of component class?  1
wahts is mean by thread? HCL14
How a class can implement an interface? SysArc4
How can you take string into InputStream?  3
is there any function in java to make the text to blink?  5
how to convert mm/dd/yy to dd/mm/yy using collections in java. Bosch2
In what type of containers, Border layout is a default layout?  3
what is the difference between Java Command Line and C command Line?  1
Can an exception be rethrown? Wipro4
Difference between overloading and overridding?  4
How to make class immutable  5
finalize() method?  4
could you run the java program without main method?  3
 
For more Core Java Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com