Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Lewis Evans   on Jun 27 In Java Category.

  
Question Answered By: Willard Washington   on Jun 27

Assuming that I have written my own File class  and
placed them in com.vijay.File

To create a normal file Object the coode whould have
been
java.io.File normalFile = new java.io.File("some file
nane");

and to access the custome file class I will code  as
follows

com.vijay.File customeFile = new com.vijay.File("some
file name");

Share: 

 
 
Didn't find what you were looking for? Find more on classes in multiple packages Or get search suggestion and latest updates.


Tagged: