Users Online

· Guests Online: 142

· Members Online: 0

· Total Members: 188
· Newest Member: meenachowdary055

Forum Threads

Newest Threads
No Threads created
Hottest Threads
No Threads created

Latest Articles

##Become a Java Developer

Java Essential Training: Objects and APIs

 

If you want to build applications for mobile devices, desktop computers, or the web, you need to know Java—and keep your knowledge up to date as the language evolves. Java 9 is changing quite a few important aspects of the programming workflow, particularly the handling of objects and APIs. This course is the second in the Java Essential Training series, which provides the foundation for learning Java 9. Instructor starts by showing how to debug Java code in IntelliJ IDEA, and handle any exceptions that occur. He explains how to create custom classes and understand how Java implements inheritance, a core principle of object-oriented programming. Plus, learn how to store data in memory with the Java Collections Framework, extend Java with popular APIs, make network requests, and package your applications for deployment in JAR files.

Topics include:
  • Debugging Java code
  • Handling exceptions
  • Creating custom classes
  • Working with inheritance
  • Managing data collections
  • Using Java packages and libraries
  • Preparing a Java application for deployment

 

Introduction

Welcome

What you should know

How to use the exercise files

 

1. Exception Handling and Debugging

Syntax errors vs. exceptions

Debug with IntelliJ IDEA

Handle exceptions with try-catch

Create multiple catch blocks

Checked vs. unchecked exceptions

 

 

2. Create Custom Classes

About encapsulation

Use the Java runtime classes

Wrap code in static methods

Declare and use custom classes

Organize code with packages

Create and use instance methods

Manage state with instance variables

Declare multiple constructor methods

Use static fields as constants

Declare and use enum types

Organize code with nested types

 

 

3. Work with Inheritance

About inheritance and polymorphism

Extend classes and override methods

Cast objects as different types

Create and implement interfaces

Use abstract classes and methods

 

4. Manage Data Collections

Store values in simple arrays

Manage resizable arrays with List

Manage key-value pairs with Map

 

5. Use Java Packages and Libraries

Work with dates and times

Copy files with readers and buffers

Copy files with Path and Files classes

Parse a JSON file

Include packages with modules

 

 

6. Prepare a Java Application for Deployment

Document code with Javadoc

Package classes in JAR files

 

Conclusion

Next steps

 

 

Comments

No Comments have been Posted.

Post Comment

Please Login to Post a Comment.

Ratings

Rating is available to Members only.

Please login or register to vote.

No Ratings have been Posted.
Render time: 1.08 seconds
10,813,558 unique visits