What does import java.io.* mean?
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   ian_psaila
Posted On:   Thursday, January 3, 2008 12:05 PM

What does ‘import java.io.*’ mean?
Answer:


What are we ‘importing’?

If we had not imported java.io. what would have happened when we tried to run our program?

What is the purpose of the asterisk (‘*’) after ‘io’?

What is a ‘class’ in Java? What is the distinction between ‘class’ and ‘object’?

Re: What does import java.io.* mean?

Posted By:   anand853_pasunoori  
Posted On:   Thursday, January 17, 2008 04:08 AM

Hi Friend,



java.io.*;

means at the time of compile,compiler add the libraries of Input and Output.Then it will complile the program.



After on wards we will get the XXXXX.class

We can run the .class any where(PlateForm).



If u need any thing extra

anand853@gmail.com

Re: What does import java.io.* mean?

Posted By:   Robert_Lybarger  
Posted On:   Thursday, January 3, 2008 07:09 PM

We (most of us, anyway) are not here to hand-hold you through your first step with Java source code semantics (or even such fundamentally basic OOP concepts such as "class"). I'd recommend you go over to here instead and start reading things right from the top. Be prepared to spend at least a couple of evenings. Maybe someone else can give a link to OOP basics, if they feel bothered enough.
About | Sitemap | Contact