Buying Options
Great Java
Video $59.99
(Streaming)
Add to Cart
Safari Books Online
Add to Cart
What is this?
Description

Great Java: Level 1 will teach you the fundamentals of Java, from the basics of compilation through methods, objects, and the key concepts of good programming. By the time you're through these lessons, you'll be programming, and programming well.

Throughout the course, you'll progressively learn to code and compile programs, work extensively with text, and declare, convert, and cast between data types. You'll also read files, get user input, and build arrays, including multi-dimensional arrays. Finally, you'll move into objects, modeling your data and behavior into core Java structures.

When you buy Great Java: Level 1, you get access to an entire video library of lessons-including lessons that aren't available yet! Here's the scoop: we're continually adding new sections in Level 1 that take you further into Java. We're also updating existing lessons and creating new ones in response to your questions, along with special "challenge lessons" that will test your skills. All of this is yours with Great Java: Level 1.

Full Description
Table of Contents
  1. 1.

    Check Your Version of Java (Free Preview)

    1 minute
    Learn how to check your current version of Java, and make sure you've got the version required for this course.
  2. 2.

    Download and Install Java (Free Preview)

    2 minutes
    Java is a free download, and in this lesson, you'll learn download the right version of Java, and get it installed on your system.
  3. 3.

    Get the Java Tools Working (Free Preview)

    1 minute
    Java comes with a lot of tools, but you just need to learn how to use java and javac to get started.
  4. 4.

    Set Up Your Environment (Free Preview)

    1 minute
    Turn a few windows into a productive, code-friendly programming environment that's just right for you.
  5. 5.

    Bookmark the Java API Docs

    2 minutes
    Java's a complicated language. In this lesson, you'll make things easier on yourself by bookmarking the Java document set for easy (and frequent) reference.
  6. 6.

    Create a Java Source File

    4 minutes
    Everything in Java begins with a .java source file. Get your hands dirty and write your first source file in this lesson.
  7. 7.

    Compile a Java Source File (Free Preview)

    3 minutes
    Computers don't understand your source file. In this lesson, you'll convert your source file to something the computer does understand: byte code.
  8. 8.

    How Java Works (Free Preview)

    1 minute
    What's really going on with your source file, that .class file, javac, and all these other commands? You're ready to see the big picture, and this lesson is the key to how Java works.
  9. 9.

    Run a Java Program (Free Preview)

    2 minutes
    You've written a source file, and you've compiled that file into something the computer can understand. Now, it's time to run your program for the first time.
  10. 10.

    Challenge: Take In A Number

    2 minutes
    Time to get involved. In this challenge, you'll improve your code to add more interactivity.
  11. 11.

    Solution: Take In A Number

    4 minutes
    Learn how to solve the "Take in a Number" challenge.
  12. 12.

    Challenge: Higher or Lower

    3 minutes
    It's up to you again. Now, you've got to add conditional statements to your guessing game, and give the user more feedback about their guesses.
  13. 13.

    Solution: Higher or Lower

    5 minutes
    Make sure you've got your ifs, elses, less-thans, and greater-thans in the right place in this solution to the "Higher or Lower" challenge.
  14. 14.

    Loop with while

    6 minutes
    Sometimes you need to do the same thing twice... or three times... or more. Take control of your program flow with while loops.
  15. 15.

    Create Code Blocks with Braces

    4 minutes
    There's more to organizing your code than spaces, tabs, and carriage returns. Curly braces let you take complete control over grouping and sectioning off your code.
  16. 16.

    Challenge: Hot or Cold

    1 minute
    It's one thing to watch someone else branch their code; now it's your turn. Add additional branching to your guessing game, and add further control and interactivity to your guessing game program.
  17. 17.

    Solution: Hot or Cold

    3 minutes
    Work through the solution to the "Hot or Cold" challenge, and get your ifs/elses and whiles in order.
  18. 18.

    Your Program is a Network of Roads

    2 minutes
    As your programs get convoluted, you need a way to keep them organized and clear in your head. By visualizing your program as a network of roads, you can easily keep up with your program's flow.
  19. 19.

    Clean Up Your Code

    2 minutes
    Organized code matters. The easier it is to read and navigate through your code, the more efficient and effective you and other people working on your code will be. Take a few moments to clean up your code.
  20. 20.

    Use Counters and Breaks in Your Loops

    6 minutes
    Computers are good at counting. In this lesson, let the computer count for you. You'll add variables, more looping logic, and gain even more control over your program.
  21. 21.

    Challenge: Count Down the Guesses (Free Preview)

    3 minutes
    You've seen how to count up; now you have to count down. Tell the computer how to do a little extra work, and improve your guessing game even further.
  22. 22.

    Solution: Count Down the Guesses

    6 minutes
    Work through the solution to the "Count Down the Guesses" challenge and put your computer to work counting down.
  23. 23.

    Loop a Set Number of Times with for

    9 minutes
    How many times should you loop? What's an "exit condition?" By the time you finish this lesson, you'll have more than just one way to exit a loop... and more than one kind of loop!
  24. 24.

    Challenge: Rewrite the Game with for Loops

    1 minute
    When is a for loop better than a while loop? When is a while loop good enough? Figure out for yourself as you convert your guessing game to use for loops.
  25. 25.

    Solution: Rewrite the Game with for Loops

    5 minutes
    Take a look at one way to change the guessing game to use for loops in this solution to "Rewrite the Game with for Loops."
  26. 26.

    Download and Install Eclipse

    1 minute
    A text editor is great for writing code, but an IDE is often better. Take a break from coding and add the Eclipse IDE to your programming environment.
  27. 27.

    Set Up Your Eclipse Environment

    3 minutes
    Eclipse comes pre-loaded with lots of great features--and a few that aren't so great. Customize Eclipse to work with you, not against you.
  28. 28.

    Work With Java Projects

    1 minute
    How does Eclipse work with your Java files? Everything in Eclipse is based on projects, and in this lesson, you'll get a handle on how those projects work.
  29. 29.

    Setting Up the Sample Files

    5 minutes
    Get your sample files set up for this section. You'll even get a sneak peek at some more advanced Java features in the process.
  30. 30.

    Programmers Create By Change

    1 minute
    Change is a part of the programming life. Take a first look at why changing existing code is no big deal, and an important skill for every programmer.
  31. 31.

    Use substring to Get at Your Data

    4 minutes
    Read in a string, and break it into smaller useful pieces using the substring method. This is your first step toward mastering strings, so let's get going.
  32. 32.

    How Strings Work

    2 minutes
    You've seen how Java works, and you've seen your program as a network of roads. But how do strings work? How does Java "see" your strings? Learn all that and more in this visual presentation of strings.
  33. 33.

    Your Code Must Deal With Change

    2 minutes
    You've changed existing code, but now the data your code works with is changing. What do you do? Well, you've got to make your code more flexible.
  34. 34.

    Search for a Specific Text

    8 minutes
    How do you find a specific piece of text? How do you find one small bit of text in a long, unwieldy string? Use substring and indexOf, two methods you'll work with in this lesson.
  35. 35.

    Challenge: Find the Guitar Price

    1 minute
    It's time to put your new tools to work. In this challenge, you'll need to find several specific bits of text, work with them, and output them in very well-defined ways.
  36. 36.

    Solution: Find the Guitar Price

    4 minutes
    There's more to working with text than finding a text and printing it. Sometimes you've got to find one thing to find another! Sound confusing? It won't by the time you've worked through this solution for "Find the Guitar Price."
  37. 37.

    Challenge: Deal with Changing Input

    2 minutes
    Your input is changing again, and your code has to, as well. In this challenge, you've got another wrinkle to work with: more changing data. Your job is to make your code more flexible yet again.
  38. 38.

    Solution: Deal with Changing Input

    6 minutes
    Learn how to make your program more flexible, more adaptable, and easier to update and change.
  39. 39.

    Java Deals with Data Types

    4 minutes
    Java thinks about your text, your numbers, your data, in terms of types of data. So your number is an int or a float, your text is a String, and so forth. In this lesson, you'll take control of those data types, and see why Java can get confused... even if you're not.
  40. 40.

    Convert Data Types with Casting

    4 minutes
    What if you need a piece of text treated as a number? Or a decimal treated as an integer (with some loss of precision)? In those cases, you need to "force" Java to switch between data types. This lesson gives you the tools to do just that.
  41. 41.

    Use Double for Decimal Types

    4 minutes
    There's more than one data type that works for decimal values. Learn why double is a good, simple choice for your basic decimal needs.
  42. 42.

    There's Still Plenty to Learn

    1 minute
    So what about data types we haven't covered? What about that main() method? What about all those things you're not even sure you need to know? Get a taste of what's to come, and why it's okay that you don't know everything yet.
View Full Table of Contents
Product Details
Title:
Great Java
By:
Brett McLaughlin
Publisher:
O'Reilly Media
Formats:
  • Safari Books Online
  • Video
Video Release:
November 2009
Run time:
2 hours 33 minutes
Customer Reviews