Introduction to Java for Non-C Programmers Training in Cambridge

Enroll in or hire us to teach our Introduction to Java for Non-C Programmers class in Cambridge, Massachusetts by calling us @303.377.6176. Like all HSG classes, Introduction to Java 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, Introduction to Java 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

 
This four day course is designed to provide a solid foundation in Java for programmers without syntax experience in a C-based language. 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. In addition, this course covers more advanced features of the language such as abstract classes, interfaces, generics, packages, and exception handling. Finally, students will learn two foundational API libraries: I/O streams and collections. Additional appendices on threads, J2EE, and Eclipse are provided for further study.
Course Length: 4 Days
Course Tuition: $1690 (US)

Prerequisites

Professional programming experience in a high level language, such as COBOL and Visual Basic. This course assumes no experience in a C-based language such as C, C++, or C#.

Course Outline

 

Getting Started with J2SE
What is Java?
How to Get Java
A First Java Program
Compiling and Interpreting Applications
The JDK Directory Structure

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

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

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

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

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

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

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
Using the Primitive-Type Wrapper Classes
Autoboxing

Inheritance in Java
Inheritance
Inheritance in Java
Casting
Method Overriding
Polymorphism
super
The Object Class
Advanced Inheritance and Language Constructs
Enumerated Types - Pre-Java 5.0
Enumerated Types Today
More Enumerated Types
Abstract Classes
Interfaces
Using Interfaces
Comparable
Collections
Generics

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

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

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
Basic and Filtered Streams

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

Appendix A - Introduction to Threads
Non-Threaded Applications
Threaded Applications
Creating Threads
Thread States
Runnable Threads
Coordinating Threads
Interrupting Threads
Runnable Interface
ThreadGroups

Appendix B - J2EE Overview
Introduction to J2EE
J2SE Building Blocks
Servlets, JSPs, and Web Applications
Web Services
Enterprise JavaBeans
Additional J2EE APIs
J2EE Clients
The J2EE Platform

Appendix C - 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
Shortcut Key Sequences
More Shortcut Key Sequences
Setting the Classpath
Importing Existing Java Code into Eclipse
 

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.