Noob question... How do you familiarize yourself with a library?

I'm very new to Java and programming in general. but I am currently reading some beginner books for Java. From what I've read, libraries are nothing more than prewritten code which you can call to use in your programs. My question is how do you familiarize yourself with the libraries? With so many different libraries, how do you find out what they are capable of? Is is simply diving in it and analyzing the code? Can you create your own libraries? If so, what is the advantage of creating a library instead of baking the code right into the program? Why advantage do you have with referencing an outside file for code over having a self contained program?

Morisato13 wrote:
I'm very new to Java and programming in general. Welcome to the forums!
but I am currently reading some beginner books for Java. From what I've read, libraries are nothing more than prewritten code which you can call to use in your programs. Yes indeed. Why reinvent the wheel?
My question is how do you familiarize yourself with the libraries? Gradually.
With so many different libraries, how do you find out what they are capable of? The best way is by working through a good Java book.
Is is simply diving in it and analyzing the code? You can do that, too.
Can you create your own libraries?Yes.
If so, what is the advantage of creating a library instead of baking the code right into the program? 1. You can analyze it and test it separately.
2. You can reuse it separately.
Why advantage do you have with referencing an outside file for code over having a self contained program?Are you asking the same question, just with different wording?

Similar Messages

  • HT5787 How do you get help with your security questions if you forget your answers?

    How do you get help with your security questions if you forget your answers?

    You need to ask Apple to reset your security questions; ways of contacting them include clicking here and picking a method for your country, phoning AppleCare and asking for the Account Security team, and filling out and submitting this form.
    (97108)

  • HT4759 how do you update icloud with contacts transferred to Iphone by verizon

    How do you update icloud with contacts transferred to Iphone by Verizon?  The only contacts that show up in icloud are the ones I entered myself to the phone.

    You'll need to copy them to iCloud in order to see them on your PC.  To do this, do the following:
    Go to Settings>iCloud, turn Contacts to Off, choose Delete from My iPhone when prompted (they will still be in iCloud).
    Download the app My Contacts Backup.  Use this to backup the remaining contacts on your phone (from Verizon) as a vCard attachment to an email that you send to yourself.  Confirm that you have received the email.
    Go to Settings>iCloud and turn Contacts back to On.
    Open the My Contacts Backup email and tap the attachment to import the Verizon contacts back to your phone.  They should now be in iCloud, and appear on your PC.  You may see duplicate contacts on your phone because you are still viewing both the contacts from Verizon as well as the copies now in iCloud.
    Open Contacts on your phone and tap Groups, tap the Groups that were imported from Verizon so they are unchecked and tap Done.  This will hide them from view and illiminate the duplicates.

  • Very simple question, how do you configure windows 8.1 to use a SF card as the default install location for software applications?

    Very simple question, how do you configure windows 8.1 to use a SD card / external drive as the default install location for software applications? Primarily interested in apps installed from the windows store. This should be available in the settings
    charm within the windows store. This must have been overlooked in the development of windows 8.1 or is a bug.
    Regards, Bill
    * update
    I've tried modifying this key and the path:
    “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Appx”
    http://answers.microsoft.com/en-us/windows/forum/windows_8-windows_store/how-do-you-install-apps-in-windows-8-from-the/c4fbe2a8-fd3d-41c1-b9a6-6f881eed374f
    Also tried using symlinks as detailed here:
    http://social.technet.microsoft.com/Forums/windows/en-US/8eee52c2-db0f-4032-8c72-7cd999e8b41a/windows-8-apps-installing-to-secondary-drive?forum=w8itprogeneral

    Here's some links I've used to try to figure this out:
    http://social.technet.microsoft.com/Forums/windows/en-US/2dfc0cd9-7d1b-41de-abce-e03fb6a5a383/metro-apps-not-working-in-windows-8-pro-x64-after-moving-users-and-programdata-folders?forum=w8itproinstall
    http://social.technet.microsoft.com/Forums/windows/en-US/8eee52c2-db0f-4032-8c72-7cd999e8b41a/windows-8-apps-installing-to-secondary-drive?forum=w8itprogeneral
    http://social.technet.microsoft.com/Forums/windows/de-DE/f5e33ac9-beab-4b99-b3ca-7cb5e6f415e4/how-do-you-change-metro-apps-default-install-location?forum=w8itprogeneral
    Regards, Bill
    The registry method does not work with 8.1.  I found this out the hard way.  Doing it on 8.1 will leave you reinstalling the OS if you didn't do a SRP beforehand.

  • How do you keep yourself well organized at work?

    For documentation I use onenote which is synced to my owncloud server so i can use it when ever needed. I also use a mix of wundlerlist and spiceworks to keep track of all my to do items and issues and requests. My number one recommendation is find the best way that works for you documenting and make sure to stick to it. Writing or typing it down will make sure that you retain what you did that day! 

    I am about to begin my first IT career in about a week (as a help desk position.)
    I'm very excited about my new career shift but am bit worried at the same time.
    That being said, I have a question that I want to ask all of you guys out there who has been working in the field for a quiet some time.
    How do you keep yourself well organized when it comes to documenting results?
    I was taught to document EVERYTHING after you solve your assigned tickets.
    Are there any great tools that could come in handy when you document things?
    Plus, what would be a proper way of documenting?
    Would you document every single steps you've tried to solve your ticket?
    Any tips or suggestions would be appreciated.
    Thank you!
    This topic first appeared in the Spiceworks Community

  • How do you move itunes with playlists from one computer to another

    how do you move itunes with playlists from a computer to ext hard drive, so it will play from the ext harddrive and not the computer

    Type "move itunes library to external hard drive" into the google search bar.

  • How do you close programs with new iOS7? Old way doesn't seem to work!

    How do you close programs with new iOS7? Old way doesn't seem to work!

    After double tap home button, swipe up on the app card that appears above the icon.

  • How do you shuffle genre with iOS7 on iPhone5?

    How do you shuffle genre with iOS7 on iPhone5?

    Turn the phone sideways - First make sure that landscape mode isn't locked by swiping up from the bottom to bring up Control Center and then the top right icon is Portrait lock.

  • How do you change password with out using cd on imac?

    How do you change password with out cd on imac?

    Please read:
    http://osxdaily.com/2011/08/24/reset-mac-os-x-10-7-lion-password/

  • How  do you set up with pc

    How  do you set up with pc.

    I set up last year with Win 7. I downloaded Airport Utility from apple.com. I don't recall any difficulty. Wireless is not my forte. Sorry I can't offer better assistance.
    I installed Software Update on the pc to keep software up to date.
    Hope this helps.

  • HT204216 Used to highlight just the portion of an article that I wanted to print and press print selection only.  How do you do that with a MAC?

    Used to highlight just the portion of an article that I wanted to print and press print selection only.  How do you do that with a MAC?

    Depends to some extent what application you're printing from, and what printer you're using, but here's the dialogue box for ⌘P in Firefox -
    Note the option to print selection only.
    Haven't looked before, but I can't find anything similar in Pages print options.
    It does appear in Word though.
    Message was edited by: noondaywitch

  • How do you make labels with Pages

    How do you make labels with Pages or Numbers?

    http://www.freeforum101.com/iworktipsntrick/viewtopic.php?t=182&mforum=iworktips ntrick
    Peter

  • How do you edit photos with photoshop from the new  Photos app?  The edit in external editor menu item seems to be gone.

    How do you edit photos with photoshop from the new  Photos app?  The edit in external editor menu item seems to be gone.

    Tell Apple what additional features you want in Photos via both http://www.apple.com/feedback/macosx.html and http://www.apple.com/feedback/iphoto.html  since they don't have a feedback page for Photos as yet.

  • Simple question - How do you make an onchange event occur in a select list

    Simple question - How do you make an onchange event occur in a select list to fire a process?
    Thanks

    1) Using ApEx Selec list on Submit Item.
    You will create a PL/SQL Process after Submit. -> Conditional Type Request = Expression1. -> Expression1 is the name of your Select List. Process Source - > Procedure you like. For example depending of your select List value you will add rows in different tables.
    2) Javascript This example will change a System parameter value when changed
    <select id="P3_SUBSYSTEM" onchange="location.href='f?p=101:3:2164422329953284::NO::P3_SUBSYSTEM:'+this.options[selectedIndex].value;" size="1" name="p_t21">

  • How do you record video with usb mic and have the audio from garageband be the sound when recording and not just your normal voice but garage band effects for youtube?

    How do you record video with usb mic and have the audio form garageband be apart of the video when recording, meaning the audio from garageband and echo  and not just your normal voice for youtube post?its not add the garageband audio its just normal voice from mic no  effects is going thru?

    Hi Life93,
    What you describe would be possible by recording your video, then removing the audio from it and adding audio from GarageBand once the video is in iMovie (I presume here that you are using iMovie for your video production. Other applications may need different methods.)
    See this thread on how to remove the audio from a clip in iMovie -
    Is there a way to separate audio from a video c...
    https://discussions.apple.com/thread/1779767
    To add audio from GarageBand use this article -
    iMovie '11: Add a sound clip to your project
    http://support.apple.com/kb/PH2255
    Thanks for using Apple Support Communities.
    Best,
    Brett L

Maybe you are looking for

  • Premiere Elements capturing video in one piece instead of clips

    I am saving all of my old SVHS tapes to the computer using an ADVC-55 capture card via fire wire and Premiere Elements 12 When the video has captured the entire tape and I go to view, I have noticed that It would save the captured video in clips and

  • Customer exit for changing order quantiy and scrap quantiy in MD11?

    Hi gurus, My objective is to update the order quantity and scrap quantiy field as per some logic and overwrite the existing values in MD11 (create planned order). Can you suggest the correct exit for incorporating these changes Thanks

  • Standard text in Smart forms

    Hi ,            Im using the standard text in smart forms, but Im getting the output displayed as hexadecimal numbers. These are the hexa characters stored in the "SO10" transaction for the standard text name. I try to display a signature stored in s

  • IPhone 2.0 software update- is something wrong?!

    my phone has been plugged into my computer for 4 and a half hours maybe 5. the screen hasnt changed since- its a white apple usb cord with an arrow pointing to the itunes logo and the sliding bar beneath says slide for emergency. is my phone not down

  • How to print date with prefix in oracle reports?

    Hi Everyone, Please help to get solution for this problem. How can we generate View image: oracle Reports in Oracle Reports RDF ? we can print date , but i want to print date and st in smaller case and in top right side of date. for eg  31st   st sho