Introduction to Java Programming

Get comfortable programming with Java while gaining skills from an experienced Java programmer. This course provides you with easy-to-understand examples and plenty of skill-building exercises using the latest version of Java to give you confidence as you learn programming.

SHARE
6 Weeks / 24 Course Hrs
Currently Enrolling
Offered in partnership with your preferred school

ed2go

Change School
Learning method

Course code: jab

Build your knowledge and confidence with easy-to-understand examples and plenty of skill-building exercises. So, whether you just want to try it out to see if you like it or plan on doing more with Java, this is a great place to start!

This course uses the latest release of Java, from Oracle, the company that maintains and supports the language. You will also learn how to use BlueJ, a graphical development environment designed especially for students. Both are free and open-source products and you will receive instructions on how to download and install them. By the time you're done, you will be comfortable with Java programming and ready for more!

What you will learn

  • Learn basic Java programming skills
  • Gain the skills necessary to integrate input and output, calculations, decision making, and loops
  • Learn how to write your own Java programs

How you will benefit

  • Become confident in basic Java programming and develop a marketable skill for your resume
  • Begin using Java to write your own programs immediately
  • Learn the basics of one of the most widely used computer languages in the world

How the course is taught

  • Instructor-Moderated or Self-Guided online course
  • 6 Weeks or 3 Months access
  • 24 course hours

Java is one of the most widely used programming languages in the world, on machines from microprocessors in DVRs and microwaves to supercomputers. This lesson will introduce you to computer programming in general and to Java in particular. First, you will be set up with the downloads and installations you will need for the rest of the course. Then, you will explore the process of editing, compiling, and running computer programs written in Java.

Now that you have the software downloaded and installed, you're ready to start programming! It's time to write your first Java program. Along the way, you will learn to create projects and classes in BlueJ. You will use the editor to enter your program, and you will find out more about how to compile it and run it.

This lesson is about Java's primitive data types—the building blocks you need to use before you can build more complex types. First, you will learn how to use them in some simple programs and how they relate to each other. Beyond that, you will explore how to use these classes in the Java libraries.

This lesson introduces classes and objects. You will revisit the HelloWorld application and rewrite it in Java's OOP (object-oriented programming) structure. While doing that, you will look at how to declare classes, objects, attributes, and methods to Java.

This lesson covers how to declare data variables in Java and how to use variables in arithmetic expressions. You will learn about data input, which means getting information into programs from an outside source. Then you will write a program that incorporates all these features.

Making decisions is one of the most important and powerful things a computer language can do. Without decision-making, computers would be big, bulky calculators. This lesson explores the decision-making process in detail and see how Java does it. When you're done with this lesson, you will know how to write Java programs that make decisions based on the principles of computer logic.

In this lesson, you will learn to repeat actions using a control structure called a loop. Loops in Java involve decisions, just as branches do. But in a loop structure, if the condition is met, the branch is backward instead of forward.

This lesson focuses on how Java generates exceptions and how to prevent them from crashing your programs. You will learn about class methods and how to call them without creating any objects. Last, you will find out about a debugger, which lets you look at what's going on inside the program as it runs.

This lesson is a grab bag of tools and topics. BlueJ's debugger lets you watch your program's internal actions as it runs. Enumeration lets you set up new data types with built-in limits on their values. Finally, Java's switch structure lets you replace a series of nested if statements with a single value-based structure. You will find all these items useful in future programming!

How can you make numbers and other output look the way you want them to in Java? This lesson looks at Java's application program interface (API). That's the documentation of all the classes that Java includes when you install the JDK, plus explanations of how to use them. The interface has several thousand classes, and it's important to know how to find things within it.

So far in this course, everything has been text-based. This lesson will introduce you to the world of Java windows, and you will look at GUI (graphical user interface) programming in Java. You will also learn about the basic components of a Java window and then add some simple graphics to it.

In your final lesson, you will continue exploring Java 2-D graphics with a look at some simple animation. You will use the same technique cartoonists have used for a hundred years now: redrawing an image in a slightly different location and repeating that process many times a second so the image appears to move. You will learn to create a self-contained object that "knows" its own size, color, shape, location, and how to draw itself into the window.

Alan Simpson

Alan Simpson is an award-winning author with over 100 published books on computers, technology, and the internet, translated into more than a dozen languages. With extensive experience across nearly every aspect of the computer industry—including web development, operating systems, programming, networking, and security—he is widely regarded as a leading expert in the field.

Alan's journey in tech began in the 1980s as an author, teacher, consultant, and software developer. His work in app development and web design sparked a deep interest in cybersecurity. This passion led him to pursue formal studies, and in 2007, he earned his Security+ certification from CompTIA, demonstrating his broad knowledge of the computer security field. The insights he shares in his courses reflect his years of experience and his commitment to building safe, secure applications and websites.

Instructor Interaction: The instructor looks forward to interacting with learners in the online moderated discussion area to share their expertise and answer any questions you may have on the course content.

Prerequisites:

There are no prerequisites to take this course.

Requirements:

Hardware Requirements:

  • This course can be taken on either a PC or Mac.

Software Requirements:

  • PC: Windows 8 or later.
  • Mac: macOS 10.6 or later.
  • Linux can also be used.
  • Browser: The latest version of Google Chrome or Mozilla Firefox are preferred. Microsoft Edge and Safari are also compatible.
  • The most recent versions of the Java Development Kit (JDK) and BlueJ. Download and installation instructions will be available in the course.
  • Adobe Acrobat Reader.
  • Software must be installed and fully operational before the course begins.

Other:

  • Email capabilities and access to a personal email account.

Instructional Material Requirements:

The instructional materials required for this course are included in enrollment and will be available online.

Instructor-Moderated: A new session of each course begins each month. Please refer to the session start dates for scheduling.​

Self-Guided: Your course begins immediately after you enroll.​

Instructor-Moderated: Once a course session starts, two lessons will be released each week for the 6 week duration of your course. You will have access to all previously released lessons until the course ends. You will interact with the instructor through the online discussion area. There are no live sessions or online meetings with the instructor.

Self-Guided: You have 3 months of access to the course. After enrolling, you can learn and complete the course at your own pace, within the allotted access period. You will have the opportunity to interact with other students in the online discussion area.

Instructor-Moderated: The interactive discussion area for each lesson automatically closes two weeks after each lesson is released, so you're encouraged to complete each lesson within two weeks of its release. However, you will have access to all lessons from the time they are released until the course ends.​

Self-Guided: There is no time limit to complete each lesson, other than completing all lessons within the allotted access period. Discussion areas for each lesson are open for the entire duration of the course.

Instructor-Moderated: Students enrolled in a six-week online class benefit from a one-time, 10-day extension for each course. No further extensions can be provided beyond these 10 days.​

Self-Guided: Because this course is self-guided, no extensions will be granted after the start of your enrollment.