Brand New to Java and Programming

I'm brand new, ( RAW ) to software programming at this time. I'm starting from scratch, I work on a Help Desk for the government so I can perform some software functionality but nothing as far as programming.. I would like recommendations for someone starting out brand new.. Books to read (JAVA for Dummies?) any beginner courses? What steps would you take if you were starting out brand new as I am myself.. Thanks..
PS, I plan on taking courses after I get the beginning stuff out of the way, just don't want to go in with no knowledge base..

For a nice list of stock answers: The One to Torment Newbies with
Sun's basic Java tutorial
Sun's New To Java Center. Includes an overview of what Java is, instructions for setting up Java, an intro to programming (that includes links to the above tutorial or to parts of it), quizzes, a list of resources, and info on certification and courses.
http://javaalmanac.com . A couple dozen code examples that supplement The Java Developers Almanac.
jGuru. A general Java resource site. Includes FAQs, forums, courses, more.
JavaRanch. To quote the tagline on their homepage: "a friendly place for Java greenhorns." FAQs, forums (moderated, I believe), sample code, all kinds of goodies for newbies. From what I've heard, they live up to the "friendly" claim.
Bruce Eckel's Thinking in Java (Available online.)
Joshua Bloch's Effective Java
Bert Bates and Kathy Sierra's Head First Java.
James Gosling's The Java Programming Language. Gosling is
the creator of Java. It doesn't get much more authoritative than this.

Similar Messages

  • Change A String Sentence -- Brand new to Java!

    Hello --
    I am brand new to Java, so please excuse my ignorance ...
    i'm working on a very simple project at school, so i dont need any high tech ways of doing this.. lol ... the program prompts the user to enter a sentence .... the program takes this sentence and outputs the first word of the sentence and moves it to the last word of the sentence .... for example:
    user enters: hello how are you today
    the program outputs it: how are you today hello
    this is a practice exercise, but im having trouble .... new student here!! help! lol
    thanks,
    cindy :)

    ok,
    assuming you have the reading the input part and stuff. the most straight forward and explainative way is :
    1. break the sentence into an array of words
    2. print the last word
    3. etc.
    use the java.util.StringTokenizer class. A sentence is a series of words delimited by <space>. String Tokenizer is used like java.util.Enumeration.
    In this case we are going to read the tokens/words in to an array, then you can print them in what ever order.
    like this
    import java.io.*;
    import java.util.*;
    public class wordswitch {
    public static void main(String[] args) {
    String sentence = new String();
    // get the sentence
    System.out.println("enter a sentence : ");
    try {
    BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
    sentence = reader.readLine();
    reader.close();
    } catch( Exception e ) {
    System.out.println("Exception : "+e.getMessage());
    // convert the Sentence in to an array of words
    StringTokenizer strTok = new StringTokenizer(sentence, " ");
    int numWords = strTok.countTokens();
    String [] words = new String[numWords];
    int i=0;
    while( strTok.hasMoreTokens() )
    words[i++] = new String(strTok.nextToken());
    // display the new sentence
    if( numWords < 2 ) // if there is 1 or 0 words just echo back the original sentence
    System.out.println(sentence);
    else {
    // print the words in the new order
    System.out.print( words[numWords-1]+" " ); // last word first
    for( i=1; i<numWords-1; i++ ) // the second word the the second from last word
    System.out.print( words[i]+" " );
    System.out.println(words[0]); // the first word last

  • I can not view emojis correctly on my brand new iPhone 6 and happens no matter what generation phone and my txt are freen when I send them to someone instead of the normal color. Plz helpu

    I can not view emojis correctly on my brand new iPhone 6 and happens no matter what generation phone and my txt are freen when I send them to someone instead of the normal color. Plz helpu

    Hey John,
    If you are having an issue with emojis on your iPhone, I would suggest that you troubleshoot using the steps in this article - 
    iOS: Troubleshooting emoji issues - Apple Support
    Thanks for using Apple Support Communities.
    Happy computing,
    Brett L 

  • I have done absalutely nothing to my 4g apple ipod touch, and it over heats, won't hold a charge, and the front camera will not work. I bought this brand new in december, and i've barely used it. I've tried restarting it and everything, what should i do?

    I have done absalutely nothing to my 4g apple ipod touch, and it over heats, won't hold a charge, and the front camera will not work. I bought this brand new in december, and i've barely used it. I've tried restarting it and everything, I honestly think this is out raging because i spend over $200 on this. To have for music and instagram. I use it about an hour a day, but i've only been using it for about 3 months although i've had it since December. Any suggestions that may help me?

    Try:
    - A reset. Nothing is lost
    Reset iPod touch: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Restore from backup
    - Restore to factory settings/new iPod
    If still problem make an appointment at the Genius Bar of an Apple store.

  • I just purchase a brand new mac computer and I need to purchase new adobe CS software. Do you know if Adobe CS5 Design Premium-MAc is compatible with new mac computers with the updated software?

    I just purchase a brand new mac computer and I need to purchase new adobe CS software for work. Do you know if Adobe CS5 Design Premium-Mac is compatible with new mac computers with the updated Yosemite software? *No previous adobe CS software versions are on this computer

    There are known technical issues with any older version on Yosemite, even CS6. Some can be worked out, others may not be relevant to you, some will remain unsolved.
    Mylenium

  • For some reason, I can not delete bookmarks. I did one at a time, then tried 5 or 6 and it worked once then no more. I then tried 1 at a time and it worked once the no more. This is a brand new computer (Win7) and FF just loaded about 3 hours ago.

    # Question
    For some reason, I can not delete bookmarks. I did one at a time, then tried 5 or 6 and it worked once then no more. I then tried 1 at a time and it worked once the no more. Why is this happening? This is a brand new computer (Win7) and FF just loaded about 3 hours ago. Do not know how the bookmarks even got in there. Some were ok, but no order and some that were never bookmarks. Looks like FF tried to import some BM's from the Virtual XP installed, but did not get it any where near right. I need to completely delete all of them and install from a saved .html file.

    Well, I did not see the exact problem that I was having listed in the articles, BUT the problem is solved for now.
    I opened FF and the Bookmarks to Organize again. I deleted all of the folders and entries, ONE AT A TIME, AND IT WORKED. Evidently, for what ever reason, FF did not like "Batch" deletes of ANY amount greater than 1 and the HANG UP would occur.
    Deleting one at a time then importing the good .html from a good file, loaded the wanted Bookmarks. Yea

  • I have a brand new Ipod touch and it will not sync.

    I have a brand new ipod touch and I cannot get it to synch with my itunes.  I have two other Ipod Nano's that will synch up just fine.  The computer has windows XP with the latest service pack on it.  It does not recognize it as a device in windows, but sees my other two ipods.  I have the latest itunes software on it.  I even uninstalled it and reinstalled per the apple web site.  I connected the ipod touch to another cpmputer and the usb port sees it as a device just fine.  What do I need to do to this thing to get this computer to see it?

    Start here:
    iPhone, iPad, or iPod touch: Device not recognized in iTunes for Windows
    The iOS devices use differnt drivers than a Nano and other simple iPods

  • HT4437 I bought a brand new iPad 3 and an Apple TV, both connected to the same wpa protected wifi network from home. It worked for a day, but when I woke up, the Apple TV couldn't be found anymore by neither iPad, MacBook or iPhone. Any clue? Thanks!

    I bought a brand new iPad 3 and an Apple TV, both connected to the same wpa protected wifi network from home. It worked for a day, but when I woke up, the Apple TV couldn't be found anymore by either iPad, MacBook or iPhone. Anybody a solution for this?

    Thanks for the swift reply, I have been looking online and a loose plug seems to be somewhat of an issue with many, I hope mine is actually a problem and not what others are experiencing. It's taken me this long to even reach out for the simple fact I HATE being a complainer but this is just horrible.
    Do you have an iPad 3 as well? And is yours not experiencing any issues close to mine?
    Thanks again!

  • Trying to set up my brand new MacBook Pro and it does not connect with the wifi network I have selected for this purpose. Nothing wrong with the wifi as both my iPad and iPhone are happily connected. Suggestions for connecting to the wifi network accepted

    Setting up my brand new MacBook Pro and it will not connect to the wifi network. Nothing wrong with the network which is happily working for my iPhone and iPad! Suggestions accepted for making this connection.

    Fixing this is a two step process:
    1) System preferences > WiFi/Airport ...
    ... check [√] Ask to join new networks
    "Known networks will be joined automatically.
    If no known networks are available, you will
    be asked before joining a new network."
    2) Remove unwanted networks from the list of "known" networks under
    System preferences > WiFi/Airport > (Advanced) > | Airport/WiFi pane ...
    Close the window and save changes. If no joy, do a restart to ensure you are playing under the new rules.

  • Using Disc Utility to copy my hard drive to a brand new external drive and am having the error "Unable to create...(Cannot allocate memory)".

    I'm not very tech savvy but am trying my best to use Disc Utility to copy my hard drive to a brand new external drive and am having the error "Unable to create...(Cannot allocate memory)".
    Last night no problems, woke this morning and it was freezing so I forced a restart and got the grey screen with the folder and question mark. Ran off to best buy to get an external drive... Please help! Thank you!

    I have done both. When I hold down the "C" key it pauses for a few seconds while the cd spins and then the flashing folder icon appears.
    Could be you have the wrong cd/dvd.  The mac will only boot a supported cd/dvd for your machine. The flashing question mark indicdates your machine could not find a valid os.
    When I hold down the "option" key for the startup manager the cursor comes up and moves but the actually manager doesn't come up no matter how long I leave the laptop on.
    Not sure.  Could be your machine does not support the startup manager. You would think the machine would ignore the key.
    Where did you get the dvd?  What is the number on the DVD?
    What machine do you have anyway?
    This site provides more information, but lacks security.
    "A serial number is a unique, identifying number or group of numbers and letters assigned to an individual piece of hardware or software. It's used for various things depending on the product / brand but what is your Mac's serial number for and more importantly... what is it hiding and what can it do for you ?"
    http://www.appleserialnumberinfo.com/Desktop/index.php
    or
    This site provides more information, but lacks security too.
    "A serial number is a unique, identifying number or group of numbers and letters assigned to an individual piece of hardware or software. It's used for various things depending on the product / brand but what is your Mac's serial number for and more importantly... what is it hiding and what can it do for you ?"
    http://www.appleserialnumberinfo.com/Desktop/index.php
    http://www.chipmunk.nl/klantenservice/applemodel.html
        ( hint by K Shaffer  )

  • I use to have a iTunes account with my old computer, and I have lost all my iTunes music, some purchased, some downloaded from another source. Now I'm using a brand new computer (Windows) and I have opened a NEW iTunes account, but I need my music back...

    I use to have a iTunes account with my old computer, and I have lost all my iTunes music, some purchased, some downloaded from another source. Now I'm using a brand new computer (Windows) and I have opened a NEW iTunes account, but I now I need to figure out if it is possible to recoup my music content that I originally had. I had, I believe around close to 300 songs on my account ;(......Any help or guidance would be greatly appreciated.
    Thanks Again, Ronald
    <Email Edited By Host>

    ronaldkerr24 wrote:
    Now I'm using a brand new computer (Windows) and I have opened a NEW iTunes account
    Now remove all your info and update the old AppleiD/iTunes account and use only that account.
    You cannot transfer items between iTunes accounts.
    You can redownload all the content.

  • Updated iMovie on my brand new mac mini and lost "SPEED" function.

    Updated iMovie on my brand new Mac Mini and lost "SPEED" function.

    Hello bbryson68, I'm sure you've just over-looked it.
    The answer is to click on Adjust above the Clip in Viewer, this will bring into view a adjustments bar also above the Clip.
    Now you just have to select the speed via the Turtle icon. Once the clip has been speed-up or down, you'll get a Slider
    over the clip in question & a Rabbit icon indicating the clip has been speed-up.
    If you want to  keep audio undistorted check the Preserve Pitch checkbox above the viewer.
    The Clip Slider & icon of Rabbit appear in the Clip-Trimer window below the main Clip, also check your Pref's to see if you have
    Apply Slow Motion checked? This will slow or speed up all other clips to the first clip.

  • I have a brand new mini mac and a new apple TV. Both have been updated and can see my movies in itunes. I can use Netflix and stream music. I have tried to use my old laptop and it streams video fine. But my new computer only see a spinning circle.

    I have a brand new mini mac and a new apple TV. Both have been updated and can see my movies in itunes. I can use Netflix and stream music. I have tried to use my old laptop and it streams video fine. But my new computer only see a spinning circle.

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It won’t solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of this test is to determine whether the problem is localized to your user account. Enable guest logins* and log in as Guest. Don't use the Safari-only “Guest User” login created by “Find My Mac.”
    While logged in as Guest, you won’t have access to any of your personal files or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
    Test while logged in as Guest. Same problem?
    After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
    *Note: If you’ve activated “Find My Mac” or FileVault in OS X 10.7 or later, then you can’t enable the Guest account. The "Guest User" login created by "Find My Mac" is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.

  • Im new to java and hope somebody can help me with my question

    Hi!
    Im quite new to java and I just have some simple questions..
    can someone please tell what kinds of error are considered as language violation for java? where can I find more info about these errors?
    can someone give me a simple example on a kind of error that cannot be caught in both compilation and runtime? I hope someone can help me out. Thanks in advance!!

    knightz211 wrote:
    Im just asking about errors that might go against the language definition but cant be detected.. If it "goes against the language defintion," it will be detected by the compiler. That's half of the compiler's job is to tell you what you've done that violates the language spec.
    because it confuses me when they say that such errors might occur so I just want to know what might these errors be.. sorry for that..Who's "they"? What exactly* did "they" say about "such errors"? It sounds to me like you're just confused, and you think there's something mysterious and inexplicable going on but you don't know what and don't even know what you're asking.
    I would suggest not worrying about hypothetical problems that you can't even put into words and focussing on learning Java. Along the way, if you encounter real, specific, actual problems, ask about them, and you'll probably get answers about the problems themselves and the language or theory behind them.

  • I'm being shown an error pop-up message periodically saying "There was a problem connecting to the server. URLs with the type 'file:' are not supported." I have a brand new MacBook Pro, and at no time am I actually having trouble connecting to the server.

    I'm being shown an error pop-up message periodically saying "There was a problem connecting to the server. URLs with the type 'file:' are not supported." I have a brand new MacBook Pro, and at no time am I actually having trouble connecting to the server, but this message continues to pop-up several times a day at random intervals. Is there something I'm doing wrong? Or is my computer just having a glitch? Other than that, and a mildly sticking caps lock button, it's working perfectly.
    Thank you!

    Alright it didn't solve it. Any other suggestions?
    I haven't suggested a solution yet. I want to know whether you still get the messages while Time Machine is disabled. Do you? If so, try any or all of the solutions proposed in this thread:
    There was a Problem connecting to the...: Apple Support Communities

Maybe you are looking for