Skip to content
Home
Programs
Close Programs
Open Programs
Cybersecurity
Courses
Community
News
Knowledgebase
GIS
Courses
Community
News
Knowledgebase
Agile Methodologies
Courses
Community
News
Knowledgebase
Catalog
About
News
Contact Us
Login
Sign Up
Login
Sign Up
Login
Sign Up
Home
All Programs
Computers
Languages
Java
Programming Basics
Programming Basics
Curriculum
8 Sections
64 Lessons
10 Weeks
Expand all sections
Collapse all sections
Chapter 1: Java Programming Basics
8
1.1
Looking at the Venerable Hello, World! Program
1.2
Dealing with Keywords
1.3
Working with Statements
1.4
Working with Blocks
1.5
Creating Identifiers
1.6
Crafting Comments
1.7
Introducing Object-Oriented Programming
1.8
Importing Java API Classes
Chapter 2: Working with Variables and Data Types
13
2.1
Declaring Variables
2.2
Initializing Variables
2.3
Using Final Variables (Constants)
2.4
Working with Primitive Data Types
2.5
Working with Strings
2.6
Converting and Casting Numeric Data
2.7
Thinking Inside the Box
2.8
Understanding Scope
2.9
Shadowing Variables
2.10
Printing Data with System.out
2.11
Getting Input with the Scanner Class
2.12
Getting Input with the JOptionPane Class
2.13
Using enum to Create Your Own Data Types
Chapter 3: Working with Numbers and Expressions
10
3.1
Working with Arithmetic Operators
3.2
Dividing Integers
3.3
Combining Operators
3.4
Using the Unary Plus and Minus Operators
3.5
Using Increment and Decrement Operators
3.6
Using the Assignment Operator
3.7
Using Compound Assignment Operators
3.8
Using the Math Class
3.9
Formatting Numbers
3.10
Recognizing Weird Things about Java Math
Chapter 4: Making Choices
5
4.1
Using Simple Boolean Expressions
4.2
Using if Statements
4.3
Using Mr. Spock’s Favorite Operators (Logical Ones, of Course)
4.4
Using the Conditional Operator
4.5
Comparing Strings
Chapter 5: Going Around in Circles (or, Using Loops)
8
5.1
Using Your Basic while Loop
5.2
Breaking Out of a Loop
5.3
Looping Forever
5.4
Using the continue Statement
5.5
Running do-while Loops
5.6
Validating Input from the User
5.7
Using the Famous for Loop
5.8
Nesting Your Loops
Chapter 6: Pulling a Switcheroo
7
6.1
Battling else-if Monstrosities
6.2
Using the switch Statement
6.3
Creating Character Cases
6.4
Matching Two or More Values in a Single Case Group
6.5
Intentionally Leaving Out a Break Statement
6.6
Switching with Strings
6.7
Assigning a Value with a Switch Statement
Chapter 7: Adding Some Methods to Your Madness
4
7.1
The Joy of Methods
7.2
The Basics of Making Methods
7.3
Methods That Return Values
7.4
Methods That Take Parameters
Chapter 8: Handling Exceptions
9
8.1
Understanding Exceptions
8.2
Catching Exceptions
8.3
Handling Exceptions with a Preemptive Strike
8.4
Catching All Exceptions at Once
8.5
Displaying the Exception Message
8.6
Using a finally Block
8.7
Handling Checked Exceptions
8.8
Throwing Your Own Exceptions
8.9
Using the try-with-resources Statement
This content is protected, please
login
and
enroll
in the course to view this content!
Login
or
Sign Up
Home
Programs
Close Programs
Open Programs
Cybersecurity
Courses
Community
News
Knowledgebase
GIS
Courses
Community
News
Knowledgebase
Agile Methodologies
Courses
Community
News
Knowledgebase
Cybersecurity
Courses
Community
News
Knowledgebase
Catalog
About
News
Contact Us
Linkedin
Instagram
Modal title
Main Content