With this course, you will:

  • Gain a strong grasp of advanced Java
  • Take programming logic to the next level
  • Earn a professional certificate
Fi Coin

Average Salary (US)

$96,864

Fi Box

Prerequisites

Fi Coin

Average Salary (US)

$96,864

Fi Box

Prerequisites

Course Hero Image
Practice Course

Practice: Java Intermediate

Apply the skills you have gained from the Learn Java Intermediate course to solve practice problems and become a Java master.

  • Level: Intermediate

  • Duration: 1 week

  • Type: Interactive

  • Language: English

  • Practice Problems: 20+

Sneak Peek

Create a program to create and add elements to an arraylist.

Instructions

  1. Import java.util.ArrayList
  2. Inside the main() method, declare a string type ArrayList named series.
  3. Get two string input values from the user for variables input1 and input2.
  4. Use the add() method to add input1 and input2 to the arraylist.
  5. Print series.

Example

For input values:

Friends
Money Heist

The output of the program will be:

[Friends, Money Heist]
Main.java

Learn by Doing

Fact: You can't learn to code without writing code yourself.

Become proficient in Java by completing 20+ advanced coding exercises in real-time.

Get Certified

Earn certification through our curated career paths and showcase your new skills in LinkedIn.Boost your career with professional certifications and impress your potential employers on LinkedIn.

CERTIFICATE OF COMPLETION

This is to certify that

Jane Doe

has successfully completed the course

Practice: Java Intermediate

Practice courses similar to this

Practice courses similar to this

Loading...Loading...