What actually happens when we include import?

My line of thinking is...all the classes that the program needs are already there...so when we include import, does it mean that it simply loads them into memory? Is this the purpose of import? Or am I thinking too simplistic?
Thanks.

My line of thinking is...all the classes that the
program needs are already there...so when we include
import, does it mean that it simply loads them into
memory? no
Is this the purpose of import? nope
the only purpose of import is to save the lazy progammers that we all are the burden of allways writing the entire qualified class names.
Or am I thinking too simplistic?naaa
Thanks.Welcome
All hail Sun!
User 384493

Similar Messages

  • What is actually happenning when we are importing a class of some other pac

    Sirs,
    I have a doubt which is very basic to java,
    I want to import a class say "HashMap" to my class.
    If i put import "java.util.HashMap" or "import java.util.*;"
    Which will be better ?
    If i put "import java.util.*; " will it affect the performance?
    What is actually happenning when we are importing a class of some other package to our class
    Your help solicited,
    Sudheesh K S

    Many of your questions of this nature can be quickly answered by a search of prior posts to the forums, like this:
    http://forum.java.sun.com/thread.jspa?forumID=54&threadID=631979
    And why do you tend to post boldened text? It's harder to read.

  • What actually happens when you "Manually manage music and videos"?

    I'm afraid to try this option on my iPod, and here's why:
    I am currently traveling for three months, and before I just left, I synced up my 80GB iPod with all the music I wanted (via playlists) and all my podcasts. I will not have access to my home computer for at least three months. However, I'd like to be able to sync up podcasts whenever I am at a computer that has iTunes installed (friends houses, etc..).
    Someone told me I could do this by setting my iPod to "Manually manage...", and just add the podcasts I want, manually. Sounds good, but I'm afraid to try for fear that it will actually reset my iPod which would be disastrous since I don't have access to my music library on my computer.
    Can someone reassure me that this won't happen?
    -tanzbodeli

    What I meant was, what will happen to the playlists, music, videos and podcasts already on my iPod when I change from 'syncing' my iPod to selecting "Manually manage..."? Will they be wiped out and my iPod given a clean slate, or will they remain there and I can then add to them?

  • What actually happens when u convert songs to AAC?

    Will I save more space on hard drive?
    Is sound quality good/bad?
    Can they still be burned etc as often as normal?

    Convert from what? If you convert from one lossy format (e.g. mp3) to another such as AAC, you will lose additional sound quality.
    I rip my CDs into .aac 192 kbps because this format, in general, will sound as good as a higher kbps mp3 but will be smaller. However, if you regularly burn mp3 disks or move files to devices that don't support .aac (though many do, including Zunes and PSPs), this may not be the format for you.
    I would suggest that you rip a CD/track with which your familiar in both formats and different bit rates and see what you think is the best balance between size and quality.
    Best of luck.

  • What actually happens when one deactivates 2010 Solution (saved site template)

    I've come to the conclusion that a saved Site Template (Solution) cannot be edited.  But I came across some articles that alluded to taking the WSP file off-line and hacking on it.  So I went to "Save" it and SP says I have to deactivate it
    first.  Figuring no one would be trying to create a new site in the next few minutes it would take me to save it, I tried to deactivate it.  Then I get the warning that if I deactivate it existing sites spawned from the template will lose functionality.
    What are they talking about?

    First of all, you should be able to download the solution (wsp) without having to deactivate it.
    Second, I've deactivated site template solutions a countless number of times and have never had any issues.  Are you referring to the following warning?
    Warning: Deactivating this solution turns off the capabilities of this solution. Some parts of this site may no longer function. You may want to check the usage of this solution before deactivating it.
    If so, that will not affect the sites created using the template. It's a generic warning for all "Solutions" and in most cases apply to features, web parts etc that gets used in multiple sites and deactivating it would cause it to break its functionality.
    Manaz Mohideen - MCPD, MCITP, MCTS

  • What will happen when I restore my iPod?

    I have a few songs that I downloaded from the iTunes store, and cannot get them off my iPod Touch. See this thread for full discription of the problem.
    https://discussions.apple.com/message/16745511#16745511
    Anyway long story short, what exactly happens when I restore it. Do I lose my photos, emails, contacts. Will all of the songs be deleted so I could re-sync them from my computer, the way I want them?
    Can I also re-sync all my other stuff back to the iPod? This part is important to me.
    Or would it be faster to go to an Apple store and have them delete the songs, @ 100km from my house.
    iPod Touch 4th Gen 32GB - iOS 5.0.1 - iTunes 10.5.1.42 - Windows 7 x64

    See Here
    Backup and Set Up as New Device
    http://support.apple.com/kb/HT4137
    About Backups
    http://support.apple.com/kb/ht1766
    Also, See Here...
    http://support.apple.com/kb/HT4946

  • What actually happens @Completed filling free space info for database

    Hello,
    i see some strange thing with my 15.7 Ase server
    Earlier for a very big db of around 1TB the recovery time would be around 15Mins( i mean for the 1TB db to come online).
    Now its taking only seconds to come up.
    so wanted to check what actually happens in this stage.
    Started filling free space info for database 'xxx'
    Completed filling free space info for database 'xxx'
    The difference is that we have created new server and bcpd the data into it.
    Please can someone explain.
    Thanks

    ASE keeps counters in memory of the amount of free space available on devices and segments.  When ASE is shutdown cleanly (aka "politely"), these values are flushed to disk and used to initialize the in-memory counters on reboot.  If ASE is shutdown abruptly, the values have to be recalculated, a process which involves either reading every OAM page in the database or every Allocation page.

  • What will happen when to Java 7 when Java 8 will roll out?

    Hi, we have an application that relies on Java 6 and 7 to work. What will happen when Java 8 will be released. Will the notification instantly pop for users of Java 6 and 7 to install Java 8 (if they have the autoupdate feature set to on)?
    This is quite important since our application is in end of life and won't get an update to work with Java 8.
    Thank you.

    Hi There ,
    Number of bugs wills increase with your current development if you move to 8 ,  most probably solutions will be  on  Google Search by that time  , then you just need to type "how to upgrade from JAVA 7 to JAVA 8 without any problems"  , just don't worry be happy !
    Thanks

  • I have Itunes on my computer, however its an older version and it says I can no longer update it. My problem is im considering buying an Iphone 5, but if it is running on a new version what will happen when I sync it to my itunes account?

    I have Itunes on my computer, however its an older version and it says I can no longer update it. My problem is im considering buying an Iphone 5, but if it is running on a new version what will happen when I sync it to my itunes account?

    aimzpoo wrote:
    I have Itunes on my computer, however its an older version and it says I can no longer update it.
    Highly unlikely that it says any such thing.
    Try telling us exactly what version of iTunes is installed and what if any messages appears when trying to update it.
    What Operating System is the computer running?

  • What's happening when i turn on my laptop it's blinking, I need to shut down or restart again. Please help!

    What's happening when i turn on my laptop it's blinking, I need to shut down or restart again. Please help!

    Hello Melophage,
    Thanks. Done..:)
    BTW, I got another issue, hope can help me, I'm updating my OS X maverick to new one 10.9.2, while updating I need to restart my laptop to update, however i got this error message, "Install Failed! OS X could not be installed on your computer. The installer encounter an error that caused the installation fail. Contact the software manufacturer for assistance. Click Restart to restart your computerand try installing again." I did that so many times, unfortunately, nothing happens. This is the 1st time Ive ever encounter that issue while updating my Mac. Now, i cannot even go to my main menu, coz everytime I turn on my laptop it's shows the updating process and go back to failed installation. Thanks.

  • What's happening when Word opens and saves a document?

    Hello,
    I got very unspecific question, but I don't know where to start. I have an open xml document which gets generated by a third party tool. If I open the document using open xml sdk it looks VERY different from how it looks like when I opened and saved it before
    using Word 2013.
    I'm trying to get an understanding on whats Word doing! From what I've seen it's doing some remodelling on the xml file, since it looks very different (other and way more descendants than before) and I would like to achieve the same thing using open xml.
    Although this might be already to much information: The generated word documents contains html code with links to pictures. After Word has touched the file the picture is inside a drawing element, before it's not but in Word both versions look the same.
    I'm thankful for any help you can give me.
    Cheers Andreas
    Regards Andreas MCPD SharePoint 2010. Please remember to mark your question as "answered"/"Vote helpful" if this solves/helps your problem.

    Hi Cheers Andreas,
    >> If I open the document using open xml SDK it looks VERY different from how it looks like when I opened and saved it before using Word 201
    >> What's happening when Word opens and saves a document?
    This forum is discussing about Open XML developing. This is not exactly an OpenXML SDK questions. To be frank, I do not know exactly what Word opens and saves a documents either (this is the implementation details of the product).
    If you are interested on it, the forum below might be more appropriate for you:
    https://social.msdn.microsoft.com/Forums/en-US/home?forum=os_binaryfile
    >> From what I've seen it's doing some remodelling on the xml file, since it looks very different (other and way more descendants than before) and I would like to achieve the same thing using open xml.
    What do you mean by “other and way more descendants”? Do you mean that you want to add new nodes in the xml document? In my option, different objects in word have different nodes. You could refer the link below for more information about Word processing.
    https://msdn.microsoft.com/EN-US/library/office/cc850833.aspx
    If you have issues about OpenXML SDK, since it is a new issue which is different from your original issue, I suggest you post a new thread for the new issue in this forum. Then there would be more community members to discuss the question.
    Best Regards,
    Edward
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • I have an iBook G4 10.4.11 and an iPhone 3GS.  Currently they sync.  What will happen when I move my .mac account to iCloud?

    I have and iBook G4 10.4.11 and an iPhone 3GS.  Currently they sync.  What will happen when I move my .mac account to iCloud?

    They will stop syncing with no workaround unless you sync by plugging the phone into your computer using a USB cable.

  • If I have converted my purchased iTunes songs to a lower bit rate what will happen when I join iTunes match? Will they match up or will these be stored as duplicates of the same song?

    If I have converted my purchased iTunes songs to a lower bit rate what will happen when I join iTunes match? Will they match up or will these be stored as duplicates of the same song?
    I ask because I primarily use my work laptop which has limited space so I usually convert my purchases to 160k from 256k in order to save space. I want to sign up for iTunes Match but I'd like to know before I do so I can understand how I will have to set up my library.

    crichton007 wrote:
    What I may do is start a brand new library there, copy my tracks from my work laptop using Home Share and then the script to get things in sync before starting over again there too.
    Why create a new library? Just add the tracks from the laptop to the existing library on the Mac.
    crichton007 wrote:
    I was just hoping to hear definitively whether or not there was some sort of intelligence built into iTunes Match that would match these up...
    How do you mean? If you down-convert purchased tracks you've fundamentally changed the files so iTunes can no longer recoginize them as "purchased." And, indeed, they no longer are since they are brand new files. Of course these new files will only be "matched" or "uploaded."

  • What will happen when I refresh transaction page?

    Hi Friends,
    I am getting the credit card details and other user info using JSP front end. I am passing these values to payment gateway page. What will happen when I keep on refreshing the payment gatway page when transaction is happening?
    regards,
    sampath

    the request will keep being reposted

  • This is for Exchange 2007 but can't find a place to post it. It may apply here I don't know. What exactly happens when you suspend LCR?

    OK. I searched out here and found things close to what I need: how to suspend and restore LCR but I need another answer. I have gotten a new backup solution (Unitrends) and the Microsoft exchange write appears twice. I'm guessing one is for my first storage
    group and one is for LCR. Anyway it appears the software is trying to use the replication writer which is causing my backups to fail. Here is my question: what EXACTLY happens when I suspend the LCR (Suspend Storage Group Copy)? Does this affect regular exchange/email
    transport and receiving at all? Basically if I disable it will mail continue to flow as normal with no adverse affects? And what EXACTLY happens when I disable LCR. What if I decide I don't need it. Will disabling it affect normal email operations? Basically
    will either of these options in ANY way interfere with normal mail flow? Thanks.

    Hi,
    Based on my knowledge, suspending LCR doesn't affect the mail flow. If there is no need for LCR, you can disable LCR, and then please manually delete the LCR storage group and databaase fles.
    For more information about LCR, please refer to
    Local Continuous Replication.
    Best regards,
    Belinda
    Belinda Ma
    TechNet Community Support

Maybe you are looking for