Java Fundamentals for Non-C Programmers Training in Cambridge

Enroll in or hire us to teach our Java Fundamentals for Non-C Programmers class in Cambridge, Massachusetts by calling us @303.377.6176. Like all HSG classes, Java Fundamentals for Non-C Programmers may be offered either onsite or via instructor led virtual training. Consider looking at our public training schedule to see if it is scheduled: Public Training Classes
Provided there are enough attendees, Java Fundamentals for Non-C Programmers may be taught at one of our local training facilities.
We offer private customized training for groups of 3 or more attendees.

Course Description

 
Java Fundamentals for Non-C Programmers rev 5.2.1 This course is paced to provide a solid foundation in Java for programmers without syntax experience in a C-based language. Intensive and hands-on, the course emphasizes becoming productive quickly as a Java programmer. Besides learning the basic structure and syntax of the language, students will also learn object-oriented principles and how they are applied in Java applications. The course then covers several of the provided API packages, such as I/O streams, collections, Swing GUI programming, and accessing a database with JDBC. This course is current to Java 7 and uses the Eclipse IDE.
Course Length: 5 Days
Course Tuition: $2090 (US)

Prerequisites

Professional programming experience in a high level language, such as COBOL and Visual Basic

Course Outline

 

1. Course Introduction
Course Objectives
Course Overview
Using the Workbook
Suggested References

2. Getting Started with Java
What is Java?
How to Get Java
A First Java Program
Compiling and Interp
reting Applications
The JSDK Directory Structure

3. Eclipse
Introduction to Eclipse
Installing Eclipse
Running Eclipse for the First Time
Editors, Views, and Perspectives
Setting up a Project
Creating a New Java Application
Running a Java Application
Debugging a Java Application
Importing Existing Java Code into
Eclipse

4. Datatypes and Variables
Primitive Datatypes
Declarations
Variable Names
Numeric Literals
Character Literals
String
String Literals
Arrays
Non-Primitive Datatypes
The Dot Operator

5. Operators and Expressions
Expressions
Assignment Operator
Arithmetic Operators
Relational Operators
Logical Operators
Increment and Decrement Operators
Operate-Assign Operators (+=, etc.)
The Conditional Operator
Operator Precedence
Implicit Type Conversions
The Cast Operator

6. Control Flow
Statements
Conditional (if) Statements
Adding an else if
Conditional (switch) Statements
while and do-while Loops
for Loops
A for Loop Diagram
Enhanced for Loop
The continue Statement
The break Statement

7. Methods
Methods
Calling Methods
Defining Methods
Method Parameters
Scope
So, Why All the static?

8. Object-Oriented Programming
Introduction to Object-Oriented
Programming
Classes and Objects
Fields and Methods
Encapsulation
Access Control
Inheritance
Polymorphism
Best Practices

9. Objects and Classes
Defining a Class
Creating an Object
Instance Data and Class Data
Methods
Constructors
Access Modifiers
Encapsulation

10. Using Java Objects
Printing to the Console
printf Format Strings
StringBuilder and StringBuffer
Methods and Messages
toString
Parameter Passing
Comparing and Identifying Objects
Destroying Objects
The Primitive-Type Wrapper Classes
Enumerated Types

11. Inheritance in Java
Inheritance
Inheritance in Java
Casting
Method Overriding
Polymorphism
super
The Object Class

12. Advanced Inheritance and Generics
Abstract Classes
Interfaces
Using Interfaces
Collections
Generics
Comparable

13. Packages
Packages
The import Statement
Static Imports
CLASSPATH and Import
Defining Packages
Package Scope

14. Exception Handling
Exceptions Overview
Catching Exceptions
The finally Block
Exception Methods
Declaring Exceptions
Defining and Throwing Exceptions
Errors and RuntimeExceptions

15. Input/Output Streams
Overview of Streams
Bytes vs. Characters
Converting Byte Streams to Character
Streams
File Object
Binary Input and Output
PrintWriter Class
Reading and Writing Objects
Closing Streams

16. Core Collection Classes
The Collections Framework
The Set Interface
Set Implementation Classes
The List Interface
List Implementation Classes
The Queue Interface
Queue Implementation Classes
The Map Interface
Map Implementation Classes

17. Collection Sorting and Tuning
Sorting with Comparable
Sorting with Comparator
Sorting Lists and Arrays
Collections Utility Methods
Tuning ArrayList
Tuning HashMap and HashSet

18. Introduction to JDBC
The JDBC Connectivity Model
Database Programming
Connecting to the Database
Creating a SQL Query
Getting the Results
Updating Database Data
Finishing Up

19. JDBC SQL Programming
Error Checking and the SQLException
Class
The SQLWarning Class
JDBC Types
Executing SQL Queries
ResultSetMetaData
Executing SQL Updates
Using a PreparedStatement
Parameterized Statements
Stored Procedures
Transaction Management
 
20. Appendix A – Advanced JDBC
JDBC SQL Escape Syntax
The execute() Method
Batch Updates
Updateable Result Sets
Large Objects
Working with Savepoints
RowSets
CachedRowSet
DataSources


 

Java Programming Uses & Stats

Java Programming is Used For:
Android & IOS Development Software Products Video Games Desktop GUI's
Difficulty
Popularity
Year Created
1995
Pros

Most Commonly Used: 
According to Oracle, three billion devices run on Java.  And, because of its real-world applications, it consistently ranks at the top of the TIOBE Programming Community Index. 

Great Career Choice: 
Some of the fastest-growing salaries in the U.S. in 2018 are for Java developers.  (Glassdoor)  

Android Apps Development:
Developers predominatly use their Java skills in building apps for Google's Android. The Android platform is the number one mobile paltform in the world

It Can Run On Any Platform:
Java can compile on Windows and run the same compiled file on Linux, Windows and Mac.

Great Supporting IDE's:
Over the years, coding in Java has become simpler with the introduction of open source development tools, i.e. Eclipse and NetBeans that use Java capabilities for debugging.  
 

Cons

Uses a Lot of Memory:
Performance can be significantly slower with Java and more memory-consuming than natively compiled languages such as C or C++.

Difficulty in Learning: 
Learning Java can be a bit challenging if you are a beginner.  However, once you get the hang of Object Oriented Programming and a decent grasp of the syntax, you will be well on your way.

Slow Start Up Times:
There is quite a bit of one-time initialization done by JDK classes before compiling as well as loading classes and verification (making sure code doesn't do evil things, all of which takes longer that some other languages such as C. 

Verbose and Complex Code:
Long, over-complicated sentences make code less readable and scannable. Compare to let's say Python, we can see how clear Python code appears: It doesn’t require semicolons; uses “and,” “or,” and “not” as operators instead of Java’s “&&,” “||,” and “!”; and generally has fewer bells and whistles such as parentheses or curly braces.

Commercial License Cost:
Companies have to prepare for the changes that Oracle will institute in 2019 . Today, the current version of Java is free and available for redistribution for general purpose computing. However, If you are a DEVELOPER, Oracle recommends you review the roadmap information for Java SE 8 and beyond and take appropriate action depending on the type of application you develop and your distribution mode.

Java Programming Job Market
Average Salary
$102,000
Job Count
26,856
Top Job Locations

New York City 
San Jose
Washington D.C, 

Complimentary Skills to have along with Java Programming

- If you are an experienced Java developer, learning a complimentary language to Java should come much more naturally.  As an example JetBrains recently created the Kotlin programming language which is officially supported by Google for mobile development.  Kotlin compiles to Java bytecode and runs on the JVM; it's purported to address many of Java's shortcomings...

Interesting Reads Take a class with us and receive a book of your choosing for 50% off MSRP.