This course introduces the Java programming language and how to develop Java applications using IntelliJ.
This course introduces the Java programming language and how to develop Java applications using IntelliJ. Students learn the syntax of the Java programming language, object-oriented programming using Java, exception handling, generics, collections, and file input/output (I/O). During the course, students will develop and test Java applications using IntelliJ. This course covers Java SE 11.
Throughout the course, students will also work on a "project," which develops a complex Java application by applying principles learned to meet changing application requirements. This project is intended to simulate the programming environment they would encounter in real-world projects by providing application requirements and challenging the student to write Java code to meet those requirements.
Objectives
After completing this course, the student should be able to:
Apply OOP principles
Design OO applications using abstraction, encapsulation, modularity and hierarchy
Use Java exceptions to guarantee graceful error recovery for your application
Create and use inner classes in your program to make them concise and clear
Do input/output using Java
Use Java Lambda expressions
Use IntelliJ for Java application development
Topics
Java basics
A basic introduction to IntelliJ
Branching and looping
Objects
Advanced-class concepts
Arrays
Exceptions
Collections and Generics
Stream I/O
Practical work.
Extensive practical exercises take students through all major aspects of the design and development of Java programs. Students will be introduced to various wizards and tools available from IntelliJ.
Audience
This course is intended for programmers who are interested in adding Java to their skills.
Prerequisites
It is beneficial,, but not required,, for students to be familiar with object-oriented principles and the concept of object-oriented programming.
Outline for Introduction to Java 11 Using IntelliJ Training
Chapter 1 - Overview of Java
History Of Java
Java Release Cycle
Benefits Of Java
What Is Java?
What's This "Virtual Machine"?
Comparison to Other Languages
Java Programs
Basic Java Development Tools
Java Editions
Example – HelloWorld
Java Classes
Main Methods
Statements
Summary
Chapter 2 - Basic Object Concepts
What Is An Object?
State
Behavior
Encapsulation
Encapsulation Examples
Classes vs. Objects
Inheritance
Interfaces
Polymorphism
Benefits Of Objects
Summary
Chapter 3 - Basic Java Syntax
Declaring And Initializing Variables
Keywords
Coding Tips – Variables
Primitive Data Types
Logical - boolean
Textual - char and String
Integral - byte, short, int, long
Floating Point - float and double
Numeric Literals
Strings
Creating Strings
White Space
Comments
Coding Tips - Comments
Java Statements
Coding Tips - Statements
Scope of a Variable
Local Variable Type Inference
System.out/System.in
Scanner Class
Summary
Chapter 4 - Operations and Making Decisions
Operator Categories
Special Situations
Binary Operators
Integer Division
Numeric Promotion
Type Conversion Of Primitive Types
Unary Operators
Relational Operators
Logical Operators
"Short Circuited" Operators
Bitwise Operators
Shift Operators
Overflow And Underflow
Assignment Operators
Ternary Operator
Calculation Errors
Operator Precedence
Precedence Examples
Combining Strings
Coding Tips - Operators
Control Flow Statements
'if' Statement
'if…else' Statement
Nested Statements
Coding Tips - if & if-else
Summary
Chapter 5 - Using Classes and Objects
Objects, Instances, And Classes
What Are Classes?
Working With Classes And Objects
Instantiation
Instance Methods
Object References
Null Values
String Operations
"Wrapper" Classes
Autoboxing
Summary
Chapter 6 - Writing Classes
Why Define Your Own Classes?
Encapsulation
Elements Of A Class
Defining Classes
Coding Tips - Class Definitions
Fields
Defining Fields
Coding Tips - Fields
Methods
Defining Methods
Passing Parameters
Overloading Methods
Coding Tips - Methods
Local Variables vs. Instance Variables
Example - Defining a Class
Example - Fields
Example - Defining a Method
Example - Calling a Method
Summary
Chapter 7 - Controlling Code Access and Code Organization
Controlling Access
Data Hiding
Encapsulation
JavaBeans
Packages
Naming Packages
Declaring Packages In Classes
Problems Solved With Packages
Package Access
Example - Access Modifiers
Import Statement
Using Classes From Packages
Coding Tips - Import Statements
Correlation To File Structure
Class Path
Java Core Packages
Java Module System
Java API Documentation
Summary
Chapter 8 - Constructors and Class Members
Constructors
Default Constructor
Multiple Constructors
Defining Constructors
Example - Calling Constructors
"Good" Constructors
'this' Keyword
Using 'this' to Call a Constructor
Using 'this' to Set a Field
Class Members
Examples Of Class Members
Comparison With Instance Members
Use Of Class Variables
Static Class Methods
Use Of Class Methods
The Math Class
Main Method And Command Line Arguments
Declaring Constants
Coding Tips - Class Members
Useful Standard Class Members
Summary
Chapter 9 - Advanced Control Structures
'switch' Statement
Example - switch
Switch "Fall Through"
Using switch "Fall Through" for Multiple Options
Strings in switch Statement
'for' Loop
Example - for
'while' Loop
Example - while
'do…while' Loop
Example - do while
Break Statement
Example - break
Labeled Statements
Example - Labeled break
Continue Statement
Example - continue
Example - Labeled continue
Coding Tips - Control Structures
Summary
Chapter 10 - Inheritance
Inheritance Is…
Inheritance Examples
Declaring Inheritance
Inheritance Hierarchy
Access Modifiers Revisited
Inherited Members
Instances Of A Subclass
Example Of Inheritance
Role In Reuse
Overriding Methods
@Override Annotation
The super Keyword
Example - super Keyword
Problems with Constructors
Limiting Subclasses
Calling Methods in Constructors
The Object Class
Summary
Chapter 11 - Arrays
Arrays
Declaring Arrays
Populating Arrays
Accessing Arrays
Arrays of Objects
Array Length
Coding Tips - Arrays
Array References
Multidimensional Arrays
Arrays Of Arrays
Copying Arrays
For-Each loop
Command Line Arguments
Variable Arguments
Variable Arguments Example
Summary
Chapter 12 - Commonly Overridden Methods
Overriding Methods
Using Eclipse to Override Methods
toString()
toString() in Object
Overriding toString()
Comparing Objects
Using == vs. equals(..)
Overriding equals(..)
Complex Comparisons
equals(..) Example
hashCode()
Overriding hashCode()
hashCode() Example
Generating equals and hashCode
Summary
Chapter 13 - Exceptions
What is an Exception
Benefits
The java.lang.Exception Class
How to Work With Exceptions
Example Exception Handling
The try-catch-finally Statement
Flow of Program Control
Exception Hierarchy
Checked Exceptions
Unchecked Exceptions
Coding Tips - Exception Types
Catching Subclass Exceptions
Catching Multiple Exceptions
Specifying Thrown Exceptions
Rethrowing Exceptions
Chaining Exceptions
Creating your Own Exception
try-with-resources Statement
Suppressed Exceptions in try-with-resources
Summary
Chapter 14 - Interfaces and Polymorphism
Casting Objects
The instanceof Operator
Abstract Classes
Abstract Class – An Example
Interface
Interface – An Example
Comparable Interface
Comparable Example
Default Methods
Default Method Example
Static Methods
Private Interface Methods
Coding Tips - Superclass or Abstract Class/Interface?
Coding Tips – Abstract Class or Interface
Polymorphism
Conditions for Polymorphism
Coding Tips - Leveraging Polymorphism
Covariant Return Types
Covariant Return Types – An Example
Summary
Chapter 15 - Useful Java Classes
Java Logging API
Control Flow of Logging
Logging Levels
Loggers
Logging Example
Logging Handlers
Logging Formatters & Log Manager
Logging Configuration File
Example Logging Configuration File
Logging Filters
java.lang.StringBuilder
java.util.StringTokenizer
java.util.Arrays & java.util.Collections
java.util.Random
Java Date and Time
Local Date and Time
java.util.Date and java.time.Instant
Formatting
Formatting Example
Summary
Chapter 16 - Collections and Generics
What are Collections?
Arrays vs. Collections
Main Collections Interfaces
java.util.Collection
Main Collection Methods
Sets
java.util.List
java.util.Queue
Iteration on a Collection
Iterator vs. For-Each Loop
Maps
java.util.Map
Other Maps
Collections Implementations
Abstract Implementations
Choosing a Collection Type
Generics
Generics and Collections
Generic Collection Example
Collections and Primitive Types
Generic Diamond Operator
Collection Factory Methods
Summary
Chapter 17 - Introduction to Lambda Expressions
Functional Interface
Anonymous Inner Class (AIC)
Downside of AIC
Lambda Expressions
Lambda Expression Syntax
Method Reference
Benefits of Lambda Expressions – An Example
Initial Version
Refactor Criteria Into Method
Predicate Interface
Using a Predicate
Implement as Separate Class
Implement as AIC
Use Lambda Expressions
Reuse Lambda Expressions
Summary
Chapter 18 - Input and Output
Overview of Java Input/Output
The File Class
Since 1999, Web Age Solutions has been committed to helping our clients thrive. Whether that’s through off-the-shelf-courses or fully customized programs, we tailor our offerings to meet client needs. As a result, we’ve had the privilege of working with some of the biggest names in business in a range of industries, including TELUS, Nokia, UPS, and Comcast.
Serving clients throughout North America, Africa, Australia, Europe, and the Middle East, we offer flexibility, ease, and peace of mind.
At Web Age Solutions, it’s vital to make sure our clients are in good hands. That’s why we’re always on the lookout for exceptional instructors and information technology sales professionals.
If our core values resonate with you, be sure to get in touch with us today through our Careers page.
Python is a general-purpose, object-oriented, and interpreted high-level programming language equipped with dynamic semantics. The entire Python language is created in data structures with a combination of dynamic binding and dynamic typing.
Spring 6 and Spring Boot 3 are another evolutionary advance of Spring’s powerful capabilities. They bring Spring in line with other important software releases such as Java 17+ and Jakarta EE 9.
Learn Python fundamentals and build the foundation for a successful transition into the data science world with The Data Steps. Sign up to download the Python Fundamentals course curriculum.
Students will build upon the skills acquired in C# Programming 3 to further develop Windows business applications using C#.NET. Students will incorporate Language Integrated Query (LINQ) to all aspects of the application including database data as well as XML file.
If you have never written a computer program and have wondered how to do it, here is an opportunity for you.
© 2024 coursetakers.com All Rights Reserved. Terms and Conditions of use | Privacy Policy