Java Essential Training

Java Essential Training
Java Essential Training
English | MP4 | AVC 1280×720 | AAC 48KHz 2ch | 6h 4m | 0.98 GB

If you want to build applications for mobile devices, desktop computers, or the web, you need to know Java. This course provides the foundation for learning Java SE (Standard Edition), so you can build your first apps or start exploring the language on your own. Author David Gassner shows how to install Java and the IntelliJ IDEA IDE, and start working with variables, data types, keywords, and other critical language components. He also helps you control program flow with conditional logic and loops, store data with the Java Collections Framework, and understand how Java implements object-oriented coding principles such as inheritance and polymorphism.

Topics include:

  • Understanding the history and principles of Java
  • Installing Java, IntelliJ IDEA, and BlueJ
  • Creating a Java project
  • Working with variables, values, and expressions
  • Working with object data types
  • Building, comparing, and parsing strings
  • Debugging and exception handling
  • Creating loops and reusable code
  • Passing arguments by reference or value
  • Using simple and complex arrays
  • Creating custom classes
  • Understanding inheritance and polymorphism
  • Managing files with Java libraries
  • Documenting code with Javadoc
  • Packaging classes in JAR files
Table of Contents

Is this course for you?
Using the exercise files

1. What Is Java?
The history of Java
Principles and components of Java
Java syntax and compilation
Memory management and garbage collection
Choosing a development environment

2. Installing the Software
Installing Java on Windows
Installing Java on OS X
Installing IntelliJ IDEA on Windows
Installing IntelliJ IDEA on OS X
Installing BlueJ

3. Getting Started
Hello World
Passing arguments to a console application
Organizing Java classes in packages
Creating a Java project in IntelliJ IDEA
Taking a tour of IntelliJ IDEA
Creating a Java project in BlueJ
Using the Java API documentation

4. Working with Variables
Working with primitive variables
Declaring and initializing numeric primitives
Representing currency values with BigDecimal
Converting numeric values
Using mathematical operators and the Math class
Working with Boolean values and expressions
Working with character values
Using Java operators

5. Working with Objects
Working with object data types
Using the String class
Converting primitive values to strings
Building a string from multiple values
Comparing string values
Formatting numeric values as strings
Parsing string values
Working with dates and times
Challenge: Creating a simple calculator application
Solution: Creating a simple calculator application

6. Exception Handling and Debugging
Understanding syntax errors vs. runtime exceptions
Debugging with IntelliJ IDEA
Handling exceptions with try/catch
Creating multiple catch blocks
Throwing custom exceptions

7. Managing Program Flow
Programming conditional logic
Using the switch statement
Creating looping code blocks
Creating reusable code with methods
Overloading methods with different signatures
Passing arguments by reference or by value
Challenge: Creating a more complex calculator application
Solution: Creating a more complex calculator application

8. Using Data Collections
Using simple arrays
Using two-dimensional arrays
Managing resizable arrays with ArrayList
Managing unordered data with HashMap
Looping through collections with iterators and for-each

9. Creating Custom Classes
Understanding encapsulation
Creating and instantiating custom classes
Creating nested and anonymous classes
Visualizing class relationships
Storing data in instance variables
Declaring instance and static methods
Using constructor methods
Using static variables as constants
Declaring and using enum types

10. Working with Inheritance
Understanding inheritance and polymorphism
Extending classes and overriding methods
Creating and implementing interfaces
Using abstract classes and methods

11. Using Common Java Libraries
Managing files with the original File class
Managing files with Java 7’s new I/O library
Managing files with Apache Commons FileUtils
Reading a text file over the Internet

12. Preparing a Java Application for Deployment
Documenting code with Javadoc
Packaging classes in JAR files

Next steps