- Compile and run a basic Java program.
- Write Java code that uses data types such as numeric, string, and date time values in variables.
- Illustrate the knowledge of variables, types, values, definition, and objects
- Write Java code that handles common errors and exceptions
- Write Java code that uses your own methods and modules
- Write Java applications that use your own classes
- Write Java code that uses arrays, collections, maps, and lists
- Write Java application that use conditional statement and loops.
- Write Java code that handles exceptions and validates data.
- Learn how to work with file input and output for two types of files: text files and binary files.
Lesson 1: Getting Started
Be able to describe how Java works and how it compares to the C++ and C# languages. Learn how to use the NetBeans IDE (Integrated Development Environment) to develop simple, complete Java applications
Lesson 2: Working with Primitive Data Types
Be able demonstrate basic skills for working with the eight primitive data types. Demonstrate how to code arithmetic expressions.Demonstrate how to use Java classes to work with numbers by using the Integer and Double classes, Math class, NumberFormat class, and the BigDecimal class
Lesson 3: Coding Control Statements
Learn more about coding if/else statements and while loops. You will also learn how to code other control statements such as switch statements and for loops.
Lesson 4: Coding Methods and Handling Errors and Exceptions
Learn how to code your own static methods in addition to the main() method. This helps you to break down the code into manageable parts that are reusable and easy to maintain. You will learn the basic skills for catching and handling the exceptions that can occur when you get input from a user. You will also learn how to validate input data to prevent exceptions from occurring. You will also learn to test and debug your application.
Lesson 5: Defining and Using Classes
Learn how to create and use your own classes in Java applications. This includes learning how to create classes that use regular fields and methods as well as classes that contain static fields and methods.
Lesson 6: Working with Inheritance and Interfaces
Learn how to create a class that’s based on another class. Using inheritance can reduce code duplication and simplify the overall design of an application. Learn how to create an interface to a class.
Lesson 7: Packages, Modules, and Enumeration
Be able to create and use packages, work with libraries, and write the code to create and use modules. Demonstrate how to write the code to declare and use enumeration and to work with static imports. Also be able use javadoc to document a package
Lesson 8: Arrays
Demonstrate the basic skills for working with arrays such as creating an array, assigning values, and coding loops utilizing arrays. Be able to use the Arrays class to fill, sort, and search arrays. Also illustrate how to implement the Comparable interface and work with two-dimensional arrays
Lesson 9: Collections, Lists, and Maps
Be able to describe the differences between arrays and collections. Illustrate how to work with an array list, linked list, and utilize maps.
Lesson 10: Strings, Dates, and Times
Learn how to work with the String and StringBuilder classes to perform basic string handling functions. Demonstrate how to work with the new date/time API tp create date and time objects, retrieve date and time parts, and perform basic date/time operations such as date/time arthritic, comparisons, and formatting
Lesson 11: File Handling
Learn how to work with file input and output for two types of files: text files and binary files.