Explore your training options in 10 minutes

X

Back






Learn Java

If you are an experienced coder or are a novice straight out of high school, Career Karma has everything you need to learn Java. Not only are there excellent guides to books, resources, courses, and events, but there are plenty of articles with quizzes, exercises, and projects to help you practice Java. Furthermore, there are articles and guides to advanced Java practices.

Java Inheritance
Object-oriented programming includes a number of features that help prevent repetitive code. One of these features is inheritance. This tutorial will discuss, using examples, the basics of inheritance in Java. We will explore how inheritance works, why it is important,…
Java Abstract Class
How to Use Java’s “Abstract” Classes and Methods Abstraction is one of the three core principles in object-oriented programming—alongside encapsulation and inheritance.  Abstraction is one way to reduce the complexity of your programs and make your code easier to read.…
Java Super
Java Super: A Guide Inheritance is a core feature in object-oriented programming that allows a developer to define a new class from an existing class. For instance, a class to store the suppliers of meat at a local health foods…
Java Print Array
How to Print an Array in Java An array is an ordered sequence of a certain number of items of the same data type. It is a Java data structure.  Java developers often use arrays to store data. For instance,…
ArrayList to Array Java
Convert ArrayList to Array Java When you’re working with an ArrayList, you may encounter a situation where you want to convert it into an array, or vice versa. For instance, you may have a list of stocks in your portfolio…
Java This
How to Use the Java this Keyword When you’re starting to code in Java, you’ll likely notice the keyword this being used in methods or constructors. The this keyword refers to the current object inside methods or constructors, and has…
While Loop Java
In programming, there are often instances where you have a repetitive task you want to execute multiple times. Loops are used to automate these repetitive tasks and allow you to create more efficient code. The while and do...while loops in…
Exception Handling with Try Catch in Java
Even the best programmers make mistakes in their code. An error could occur because of a typo, an unexpected user input, or for many other reasons which are difficult to track. That’s where exception handling comes in. Good code includes…
How to Use Java Constructors
In Java, methods are used to store blocks of code that perform a specific action. When you’re working with methods, you may encounter a concept called constructors. Constructors are special methods used to initialize objects in Java. Constructors are called…
Java String Equals
Strings are a data type used to store text-based data in Java. When you’re working with strings, you may encounter a scenario where you want to compare two strings with each other. That’s where the Java string equals() and equalsIgnoreCase()…
How to Use Recursion in Java
In programming, recursion refers to the process in which a function calls itself directly or indirectly. Recursion is used to solve a number of problems in computer science. The Java programming language supports creating recursive methods, which are methods that…
How to Use the Java File Class
There are a number of scenarios where you’ll want to work with files in Java. For instance, you may want to create a file to store the output of a program, or perhaps you decide that you want to read…
Switch Statement Java: How to Use It
Conditional statements are a common feature in all programming languages. We use conditional statements to control the flow of programs. In Java, if...else statements are used to control program flow based on a certain set of conditions. Additionally, Java offers…
How to Throw an Exception in Java
Exceptions are unexpected events that occur during program execution. When your code encounters an exception, the flow of your program will be terminated. It’s important that you handle exceptions correctly when you’re coding in Java. Otherwise, your code may terminate…
How to Use Java Methods
In object-oriented programming, methods are blocks of code that perform a specific task. For instance, a method could check whether a customer has enough money in their bank account to make a purchase or sort the contents of a list…
How to Use If…Else Statements in Java
When you’re programming, it’s common to write code that should only be executed when a certain condition is met. For instance, you may want an order to be placed on your e-commerce site only if a user has submitted their…
How to Use for and for each Loops in Java
Loops in programming are used to automate similar tasks that will be repeated multiple times. For instance, if you’re creating a program that merges together the price and name of all lunchtime menu items for a restaurant, you may want…
Java toUpperCase and toLowerCase
Strings are a built-in data type in Java used to store text. When you’re working with a string, you may want to convert the case of the string to all-uppercase or to all-lowercase. For instance, if you’re building an app…
How to Use HashSet in Java
In Java, there are a number of data types that are used to store values. Each data type stores values in a different way, and offers a range of methods which can be used to manipulate the stored values. For…
How to Use the Java HashMap Class
In programming, data types are used to classify particular types of data. Each data type is stored in a different way, and the data type in which a value is stored will determine the operations which can be performed on…
How to Convert a String to an Integer in Java
Programmers use different data types to store different kinds of values. For instance, they use strings to store text-based data and integers to store whole numbers. When you are writing code, you may decide that you want to convert a…
4 Ways to Copy an Array in Java
When you’re working with arrays in Java, you may decide that you want to create a copy of an array. For instance, if you’re running a coffee shop and want to create a seasonal menu, you may want to create…
How to Write Comments in Java
When you’re coding, the first thing on your mind will be how the computer processes the code you write. However, it’s also essential to think about how people will read your code. Whether you’re working on a project with a…
PriorityQueue Java
How to Use PriorityQueue in Java Priority queues are used in programming to create data structures where the item of data with the highest value should be processed first by the structure. When you’re coding in Java, you may encounter…
How to Use Vector in Java
In Java, there are a wide range of classes used to store particular types of data. Each class has its own features and the class used to store a type of data determines how it can be accessed and manipulated.…
What Is a Java Class?
If you decide to explore the question of which programming language is the most widely-used, a common answer you'll come across is Java. Since its introduction by James Gosling of the Oracle corporation in 1996, Java has found use in…
How to Code in Java
There aren’t many programming career paths for which learning Java would be a poor investment. Often touted as the most widely-used language of all time, Java is part of everything from old legacy software hidden on a company’s mainframe to…
Python and Java Integration
Python and Java stand as two of the most successful and widely-used programming languages of all time. They’ve been deployed for everything from backend and front end web development to building intricate, bleeding-edge machine learning models.  It’s no surprise then…
Coding Basics: Java
When choosing which of the many programming languages you want to learn, going with the one that’s arguably the most widely-used is a pretty good bet. And that would be Java. Because Java has been around since the mid 1990s,…
Machine Learning: Python vs. Java
You can hardly say the phrase ‘machine learning’ without conjuring up images of arcane mathematics, powerful algorithms, and cutting-edge technologies. And these are indeed characteristic of the field. But whether you learn on your own or at a data science…

Many careers in tech pay over $100,000 per year. With help from Career Karma, you can find a training program that meets your needs and will set you up for a long-term, well-paid career in tech.

Career Karma

Find the right bootcamp for you

By continuing you agree to our Terms of Service and Privacy Policy, and you consent to receive offers and opportunities from Career Karma by telephone, text message, and email.

X
A person sitting on a dark green chair with a laptop on their knee