IntelliJ IDEA Archives - SoftUni Global https://softuni.org/tag/intellij-idea/ Learn Programming and Start a Developer Job Sun, 08 Jan 2023 11:12:39 +0000 en-US hourly 1 https://wordpress.org/?v=6.1.3 https://softuni.org/wp-content/uploads/2022/04/cropped-SoftUni-Global-Logo-Square-notext-32x32.png IntelliJ IDEA Archives - SoftUni Global https://softuni.org/tag/intellij-idea/ 32 32 [12/13] Java Foundations Certification: Java API Classes https://softuni.org/code-lessons/java-foundations-certification-java-api-classes/ https://softuni.org/code-lessons/java-foundations-certification-java-api-classes/#respond Thu, 09 Dec 2021 17:02:13 +0000 https://softuni.org/?p=9189 Build a strong foundation of knowledge in Java programming! Prepare for your “Java Foundations” official exam by learning some of the most commonly used Java API Classes.

The post [12/13] Java Foundations Certification: Java API Classes appeared first on SoftUni Global.

]]>

In the current lesson, we take a closer look at the most frequently used Java API classes. Svetlin Nakov will explain all about the Math class, how to generate random numbers, the need for BigInteger and BigDecimal in programming, and how to work with date and time in Java. We will also look at two of the main Java classesArrays and Formatter.

The Math class contains methods for performing basic numeric operations, such as round, min, max, abs, ceil, etc.. The Arrays class contains various methods which facilitate array manipulation. String.format() allows us to return the formatted string by given locale, format, and arguments.

In this lesson you will find many helpful examples and exercises, so make sure to practice what you’ve learned! That’s the only way to grasp the concept at hand.

BigInteger and BigDecimal are used for handling large and small numbers with great precision. BigInteger will throw an exception when the result is out of range. BigDecimal gives the user complete control over the rounding behavior. 

Importing a single package allows us to work with the date and time API.
In this lesson you will find many helpful examples and exercises, so make sure to practice what you’ve learned! 

As always, we advise you to pause the video right before the solving part of each problem and try to do the exercises on your own first. Then, if you have difficulties, just watch the provided solutions in the video. If you still have questions, we’re always here to help! 

*The exercise descriptions are to be found in the PDF document at the end of this post.

Lesson Topics

This video covers the following topics:

1. The Judge System

  • The Exception class 
  • Types of exceptions and their hierarchy

2. The Math Class

3. The Random Class

4. The Arrays Class

  • Methods of the Arrays Class 
  • Example of Sorting an Array 

5. String Formatter

6. BigInteger and BigDecimal

7. Java Date and Time

 

Practical Exercises

Watch the video and solve the problemsTo better understand the material, do the coding exercises and implement the knowledge you acquired. Writing code is the only way to master the skill of code.

Submit your code in the SoftUni Judge System:

Exercises: Problem Description

Lesson Slides

The post [12/13] Java Foundations Certification: Java API Classes appeared first on SoftUni Global.

]]>
https://softuni.org/code-lessons/java-foundations-certification-java-api-classes/feed/ 0
[11/13] Java Foundations Certification: Exception Handling https://softuni.org/code-lessons/java-foundations-certification-exception-handling/ https://softuni.org/code-lessons/java-foundations-certification-exception-handling/#comments Thu, 02 Dec 2021 10:21:20 +0000 https://softuni.org/?p=9024 Build a strong foundation of knowledge in Java programming! Learn all about handling exceptions in your code!

The post [11/13] Java Foundations Certification: Exception Handling appeared first on SoftUni Global.

]]>

In the current lesson, we take a close look at exception handling and why it’s important in software engineering.

What are exceptions? We’ve all seen one, there is no way to write completely bug-free code. In short an exception is a problem that arises during the execution of the program

Exceptions simplify code construction and maintenance and allow problematic situations to be processed at multiple levels.

In Java exceptions are objects. The base for all exceptions is the Throwable class – it contains information about the cause of the exception, its description, and the stack trace.

There are two types of exceptionschecked (also known as compile-time exceptions), and unchecked (also known as runtime exceptions).

Exceptions can be handled by the try-catch construction. The try-finally block is also used, especially when we want to ensure the execution of a given block of code. 

To raise an exception, we use the throw keyword. When an exception is thrown the program execution stops, and the execution travels over the stack until a matching catch block is reached to handle it. 

In this lesson you will find many helpful examples and exercises, so make sure to practice what you’ve learned! That’s the only way to grasp the concept at hand.

Lesson Topics

This video covers the following topics:

1. What are Exceptions?

  • The Exception class 
  • Types of exceptions and their hierarchy

2. Handling Exceptions

3. Raising (throwing) Exceptions

4. Best Practices

5. Creating Custom Exceptions

Practical Exercises

Watch the video and solve the problemsTo better understand the material, do the coding exercises and implement the knowledge you acquired. Writing code is the only way to master the skill of code.

Submit your code in the SoftUni Judge System:

Exercises: Problem Description

Lesson Slides

The post [11/13] Java Foundations Certification: Exception Handling appeared first on SoftUni Global.

]]>
https://softuni.org/code-lessons/java-foundations-certification-exception-handling/feed/ 2
[10/13] Java Foundations Certification: OOP Principles https://softuni.org/code-lessons/java-foundations-certification-oop-principles/ https://softuni.org/code-lessons/java-foundations-certification-oop-principles/#respond Mon, 29 Nov 2021 08:46:00 +0000 https://softuni.org/?p=8930 Build a strong foundation of knowledge in Java programming! Learn the four pillars of the Object-Oriented Programming!
Encapsulation, Inheritance, Abstraction and Polymorphism

The post [10/13] Java Foundations Certification: OOP Principles appeared first on SoftUni Global.

]]>

In the current lesson, you will learn the four pillars of Object-Oriented Programming (OOP).

Svetlin Nakov will explain to you what are the four main OOP Principles. He talks about the concepts of encapsulation, inheritance, abstraction, and polymorphism. Later, you will learn how to compare different objects in Java using equals() and compareTo() methods. Make sure that you understand everything since this is one of the most important topics in the programming world!

You will find many helpful examples and exercises, so make sure to practice what you’ve learned!

As always, we advise you to pause the video right before the solving part of each problem and try to do the exercises on your own first. Then, if you have difficulties, just watch the provided solutions in the video.

*The exercise descriptions are to be found in the PDF document at the end of this post.

Lesson Topics

This video covers the following topics:

1. Principles of OOP

  • Encapsulation
  • Inheritance
  • Abstraction
  • Polymorphism

2. Comparing Objects in Java

  • Using equals() and compareTo() methods
  • Defining equals() and compareTo() methods
 

Practical Exercises

Watch the video and solve the problemsTo better understand the material, do the coding exercises and implement the knowledge you acquired. Writing code is the only way to master the skill of code.

Submit your code in the SoftUni Judge System:

Exercises: Problem Description

Lesson Slides

The post [10/13] Java Foundations Certification: OOP Principles appeared first on SoftUni Global.

]]>
https://softuni.org/code-lessons/java-foundations-certification-oop-principles/feed/ 0
[9/13] Java Foundations Certification: Defining Classes https://softuni.org/code-lessons/java-foundations-certification-defining-classes/ https://softuni.org/code-lessons/java-foundations-certification-defining-classes/#respond Thu, 25 Nov 2021 11:06:00 +0000 https://softuni.org/?p=8884 Build a strong foundation of knowledge in Java programming! In this lesson we take a closer look at defining classes.

The post [9/13] Java Foundations Certification: Defining Classes appeared first on SoftUni Global.

]]>

In the current lesson, you will learn the foundations of Object-Oriented Programming (OOP).

Svetlin Nakov will go over the topics of defining simple classes, conventions, and best practices in doing so, creating objects of these classes, object references, and what is the difference between an object and a class.

Later on in the lesson, you will become familiar with data fields and access modifiers, and of course – constructors, getters, and setters, which are the building blocks of every class. By the end of the lesson, you will also have a good understanding of the term static, which you’ve surely encountered multiple times so far.

You will find many helpful examples and exercises, so make sure to practice what you’ve learned!

As always, we advise you to pause the video right before the solving part of each problem and try to do the exercises on your own first. Then, if you have difficulties, just watch the provided solutions in the video. 

*The exercise descriptions are to be found in the PDF document at the end of this post.

Lesson Topics

This video covers the following topics:

1. Defining Simple Classes

  • Creating objects
  • Using classes

2. Fields

  • Class data
  • Access modifiers

3. Methods

  • Getters
  • Setters
  • ToString()

4. Constructors

  • The keyword this

5. Static Members

  • Static methods and fields

Practical Exercises

Watch the video and solve the problemsTo better understand the material, do the coding exercises and implement the knowledge you acquired. Writing code is the only way to master the skill of code.

Submit your code in the SoftUni Judge System:

Exercises: Problem Description

Lesson Slides

The post [9/13] Java Foundations Certification: Defining Classes appeared first on SoftUni Global.

]]>
https://softuni.org/code-lessons/java-foundations-certification-defining-classes/feed/ 0
[8/13] Java Foundations Certification: Objects and Classes https://softuni.org/code-lessons/java-foundations-certification-objects-and-classes/ https://softuni.org/code-lessons/java-foundations-certification-objects-and-classes/#respond Thu, 18 Nov 2021 11:06:00 +0000 https://softuni.org/?p=8721 Build a strong foundation of knowledge in Java programming! In this lesson we dive deep into objects and classes in Java!

The post [8/13] Java Foundations Certification: Objects and Classes appeared first on SoftUni Global.

]]>

The current lesson provides a great overview of objects and classes if you are a beginner on the topic. With it, you will make your first steps in the world of Object-Oriented Programming (OOP), which is one of the most widely-used programming paradigms in modern programming.

By the end of the lesson, you will be familiar with the objects and classes work and their purpose. You will also know the different parts of a class methods, constructors, getters and setters, fields, etc.

You will find many helpful examples and exercises, so make sure to practice what you’ve learned!

As always, we advise you to pause the video right before the solving part of each problem and try to do the exercises on your own first. Then, if you have difficulties, just watch the provided solutions in the video.

 

*The exercise descriptions are to be found in the PDF document at the end of this post.

Lesson Topics

This video covers the following topics:

1. Objects

2. Classes

3. Built-In Classes

4. Defining Simple Classes

  • Fields
  • Constructors
  • Methods

Practical Exercises

Watch the video and solve the problemsTo better understand the material, do the coding exercises and implement the knowledge you acquired. Writing code is the only way to master the skill of code.

Submit your code in the SoftUni Judge System:

Exercises: Problem Description

Lesson Slides

The post [8/13] Java Foundations Certification: Objects and Classes appeared first on SoftUni Global.

]]>
https://softuni.org/code-lessons/java-foundations-certification-objects-and-classes/feed/ 0
[7/13] Java Foundations Certification: Maps, Lambda and Stream API https://softuni.org/code-lessons/java-foundations-certification-maps-lambda-and-stream-api/ https://softuni.org/code-lessons/java-foundations-certification-maps-lambda-and-stream-api/#respond Tue, 16 Nov 2021 11:06:00 +0000 https://softuni.org/?p=8516 Build a strong foundation of knowledge in Java programming! In this lesson we take a look at maps, lambda and stream API.

The post [7/13] Java Foundations Certification: Maps, Lambda and Stream API appeared first on SoftUni Global.

]]>

In this video we go in depth explaining maps, lambda and the stream API. All of these three topics are extremely important for every beginner programmer to learn as they are part of the pillars of programming, just like the rest of the topics in the current course. 

By the end of the lesson, you will be familiar with three different types of maps in Java – the HashMap, the LinkedHashMap and the TreeMap. All have their special traits and serve a specific purpose, which George explains very well. 

Then you will dive deep into lambda expressions and see how important they are when we are doing certain operations with maps. 

Finally, George will touch up on another important topic when it comes to mapsthe Stream API, which provides many methods for easy querying of a collection. 

As always, we advise you to pause the video right before the solving part of each problem and try to do the exercises on your own first. Then, if you have difficulties, just watch the provided solutions in the video.

*The exercise descriptions are to be found in the PDF document at the end of this post.

Lesson Topics

This video covers the following topics:

Associative Arrays (Maps)

  • HashMap <key, value>
  • LinkedHashMap <key, value>
  • TreeMap <key, value>

Lambda Expressions

Java Stream API

  • Filtering
  • Mapping
  • Ordering

Practical Exercises

Watch the video and solve the problemsTo better understand the material, do the coding exercises and implement the knowledge you acquired. Writing code is the only way to master the skill of code.

Submit your code in the SoftUni Judge System:

Exercises: Problem Description

Lesson Slides

The post [7/13] Java Foundations Certification: Maps, Lambda and Stream API appeared first on SoftUni Global.

]]>
https://softuni.org/code-lessons/java-foundations-certification-maps-lambda-and-stream-api/feed/ 0
[5/13] Java Foundations Certification: Lists https://softuni.org/code-lessons/java-foundations-certification-lists/ https://softuni.org/code-lessons/java-foundations-certification-lists/#respond Tue, 09 Nov 2021 11:06:00 +0000 https://softuni.org/?p=8423 Build a strong foundation of knowledge in Java programming! In this lesson we take a look at lists and their application!

The post [5/13] Java Foundations Certification: Lists appeared first on SoftUni Global.

]]>

By now you’ve learned all about arrays, but did you know there are more data structures in programming? Lists are one of the most popular data structures in programming, as they allow for flexibility. Unline arrays, their length is not fixed and you can insert and delete elements at any point! Cool, right?

As always, we advise you to pause the video right before the solving part of a problem and try to do the exercises on your own first. Then, if you have difficulties, just watch the provided solutions in the video. 

*The exercise descriptions are to be found in the PDF document at the end of this post.

Lesson Topics

This video covers the following topics:

Lists

  • Overview
  • Usage

List Manipulation

  • Add, Insert, Remove, Clear

Reading and Printing Lists

Sorting Lists and Arrays

  • sort(), reverse()

Practical Exercises

Watch the video and solve the problemsTo better understand the material, do the coding exercises and implement the knowledge you acquired. Writing code is the only way to master the skill of code.

Submit your code in the SoftUni Judge System:

Exercises: Problem Description

Lesson Slides

The post [5/13] Java Foundations Certification: Lists appeared first on SoftUni Global.

]]>
https://softuni.org/code-lessons/java-foundations-certification-lists/feed/ 0
[4/13] Java Foundations Certification: Methods https://softuni.org/code-lessons/java-foundations-certification-methods/ https://softuni.org/code-lessons/java-foundations-certification-methods/#respond Sat, 06 Nov 2021 11:06:00 +0000 https://softuni.org/?p=8352 Build a strong foundation of knowledge in Java programming! In this lesson we take a look at Methods and why they are one of the most important concept in the programming world!

The post [4/13] Java Foundations Certification: Methods appeared first on SoftUni Global.

]]>

In this free Java Foundations video, we will review another very important paradigm in the programming universe – Methods. We will find a few ways in which will make our code more organized and readable. Also, we are going to learn how to extend the functionality of our code.

Each of these topics is explained with many real-life examples and hands-on exercises. As always, we advise you to pause the video right before solving part of a problem and try to do the exercises on your own first. Then, if you have difficulties, just watch the provided solutions in the video. 

*The exercise descriptions are to be found in the PDF document at the end of this post.

Lesson Topics

This video covers the following topics:

Methods

  • What is a Method?
  • Naming and Best Practices

Declaring and Invoking Methods

  • Void and Return type Methods

Methods with Parameters

  • Overview, Examples

Value vs Reference Types

  • What is the difference?

Overloading Methods

  • Example and Definition

Program Execution Flow

Practical Exercises

Watch the video and solve the problemsTo better understand the material, do the coding exercises and implement the knowledge you acquired. Writing code is the only way to master the skill of code.

Submit your code in the SoftUni Judge System:

Exercises: Problem Description

Lesson Slides

The post [4/13] Java Foundations Certification: Methods appeared first on SoftUni Global.

]]>
https://softuni.org/code-lessons/java-foundations-certification-methods/feed/ 0
[3/13] Java Foundations Certification: Arrays https://softuni.org/code-lessons/java-foundations-certification-arrays/ https://softuni.org/code-lessons/java-foundations-certification-arrays/#respond Fri, 05 Nov 2021 11:06:00 +0000 https://softuni.org/?p=8326 Build a strong foundation of knowledge in Java programming! In this lesson we take a look at arrays and how to use them!

The post [3/13] Java Foundations Certification: Arrays appeared first on SoftUni Global.

]]>

In this free Java Foundations video, we explain some of the fundamental concepts in programming. For example – we will review what arrays are, how we use them, why are they helpful and how we can manipulate their elements.

Each of these topics is explained with many real-life examples and hands-on exercises. As always, we advise you to pause the video right before solving part of a problem and try to do the exercises on your own first. Then, if you have difficulties, just watch the provided solutions in the video. 

*The exercise descriptions are to be found in the PDF document at the end of this post.

Lesson Topics

This video covers the following topics:

Arrays

  • What are arrays?, Usage, Examples, Array Operations

Reading and Printing Arrays to the Console

  • Reading array values from a single line

For-each Loop

  • Overview, Examples

Practical Exercises

Watch the video and solve the problemsTo better understand the material, do the coding exercises and implement the knowledge you acquired. Writing code is the only way to master the skill of code.

Submit your code in the SoftUni Judge System:

Exercises: Problem Description

Lesson Slides

The post [3/13] Java Foundations Certification: Arrays appeared first on SoftUni Global.

]]>
https://softuni.org/code-lessons/java-foundations-certification-arrays/feed/ 0
[2/13] Java Foundations Certification: Data Types and Variables https://softuni.org/code-lessons/java-foundations-certification-data-types-and-variables/ https://softuni.org/code-lessons/java-foundations-certification-data-types-and-variables/#respond Wed, 03 Nov 2021 11:06:00 +0000 https://softuni.org/?p=8276 Build a strong foundation of knowledge in Java programming! In this lesson we take a look at the different data types and how to use them!

The post [2/13] Java Foundations Certification: Data Types and Variables appeared first on SoftUni Global.

]]>

In this free Java Foundations video, we explain some of the fundamental concepts in programming. For example – we will review how to use data types, variables, how variables are stored in the memory, how to convert from one data type to another

Each of these topics is explained with many real-life examples and hands-on exercises. As always, we advise you to pause the video right before solving part of a problem and try to do the exercises on your own first. Then, if you have difficulties, just watch the provided solutions in the video. 

*The exercise descriptions are to be found in the PDF document at the end of this post.

Lesson Topics

This video covers the following topics:

Data Types and Variables

  • What is a data type?, Characteristics, Memory, Conventions, Variable Lifetime, Span and Scope

Integer and Real Number Types

  • Max/Min Values, Size, Overflow, Literals, Scientific Notation, Precision

Type Conversion

  • How to convert from one data type to another?, Explicit and Implicit Conversion

Boolean Type

  • Boolean Data Type – Overview

Character and String Types

  • Overview, Escaping Characters, Formatting Strings

Practical Exercises

Watch the video and solve the problemsTo better understand the material, do the coding exercises and implement the knowledge you acquired. Writing code is the only way to master the skill of code.

Submit your code in the SoftUni Judge System:

Exercises: Problem Description

Lesson Slides

The post [2/13] Java Foundations Certification: Data Types and Variables appeared first on SoftUni Global.

]]>
https://softuni.org/code-lessons/java-foundations-certification-data-types-and-variables/feed/ 0
[1/13] Java Foundations Certification: Basic Syntax, Conditions and Loops https://softuni.org/code-lessons/java-foundations-certification-basic-syntax-conditions-and-loops/ https://softuni.org/code-lessons/java-foundations-certification-basic-syntax-conditions-and-loops/#respond Mon, 01 Nov 2021 11:06:00 +0000 https://softuni.org/?p=8202 Build a strong foundation of knowledge in Java programming! In this lesson you will learn how to use basic syntax, conditions and loops with many hands-on exercises!

The post [1/13] Java Foundations Certification: Basic Syntax, Conditions and Loops appeared first on SoftUni Global.

]]>

In this free Java Foundations video, we explain some of the fundamental concepts in programming. For example – we will review how to use data types, variables, conditional statements, and loops. Also, we will learn how to debug our code and see where it fails.

Each of these topics is explained with many real-life examples and hands-on exercises. As always, we advise you to pause the video right before solving part of a problem and try to do the exercises on your own first. Then, if you have difficulties, just watch the provided solutions in the video.

*The exercise descriptions are to be found in the PDF document at the end of this post.

Lesson Topics

This video covers the following topics:

Java Coding: First Steps

  • The Java Language, IDE, Writing Java Programs and Commands

Expressions and Statements

  • Variables, Data Types, Operators, Expressions, Input / Output

Conditional Statements

  • Control-Flow Logic with the if-else Conditional Statements

Advanced Conditional Statements

  • Nested and Complex if-else Statements

For Loops

  • Repeating Blocks of Code
  • Increasing a Variable from X to Y

While Loops

  • Repeating Code Blocks While a Condition Is True

Nested Loops

  • Using Loops Inside Other Loops
  • More Complex Control-Flow Logic

Practical Exercises

Watch the video and solve the problemsTo better understand the material, do the coding exercises and implement the knowledge you acquired. Writing code is the only way to master the skill of code.

Submit your code in the SoftUni Judge System:

Exercises: Problem Description

Lesson Slides

The post [1/13] Java Foundations Certification: Basic Syntax, Conditions and Loops appeared first on SoftUni Global.

]]>
https://softuni.org/code-lessons/java-foundations-certification-basic-syntax-conditions-and-loops/feed/ 0
Java Basics: Full Course (13-Hour Free Video Tutorial + 74 Exercises) https://softuni.org/code-lessons/java-basics-full-course-free-13-hours-video-plus-74-exercises/ https://softuni.org/code-lessons/java-basics-full-course-free-13-hours-video-plus-74-exercises/#respond Tue, 26 Oct 2021 11:06:00 +0000 https://softuni.org/?p=8095 Learn the basics of Java programming (data types and variables, IDEs, console input and output, conditional statements and loops) in just 13 hours with 74 hands-on exercises!

The post Java Basics: Full Course (13-Hour Free Video Tutorial + 74 Exercises) appeared first on SoftUni Global.

]]>

In this free 13-hour Java basics course, Svetlin Nakov explains some of the fundamental concepts in programming – data types, variables, console input and output, conditional statements, loops and others.

For each of these topics you will find many practical exercises, that he solves for you in the video. However, our advice is to pause the video right before the solving section and try to do the exercises on your own first. Then, if you have difficulties, just watch the provided solutions in the video. 
*The exercise descriptions are to be found in the PDF document at the end of this post.

This course is perfect for anyone who is a beginner and wants to create a foundation of basic knowledge of programming to build upon. It’s also great for people who have some background in programming with a different language and would like to pick up on Java.

Course Topics

This free Java basics video course covers the following topics:

Java Coding: First Steps

  • The Java Language, IDE, Writing Java Programs and Commands

Expressions and Statements

  • Variables, Data Types, Operators, Expressions, Input / Output

Conditional Statements

  • Control-Flow Logic with the if-else Conditional Statements

Advanced Conditional Statements

  • Nested and Complex if-else Statements

For Loops

  • Repeating Blocks of Code
  • Increasing a Variable from X to Y

While Loops

  • Repeating Code Blocks While a Condition Is True

Nested Loops

  • Using Loops Inside Other Loops
  • More Complex Control-Flow Logic

Remember that coding is a skill, which should be practiced. To learn to code, you should write code, every day, for a long time. Watching tutorials is not enough. You should code!  Now it’s your turn. For this course you will solve as many as 74 coding exercises to practice your new skills. Do your exercises!

Practical Exercises

Watch the video and solve the problemsTo better understand the material, do the coding exercises and implement the knowledge you acquired. Writing code is the only way to master the skill of code.

Submit your code in the SoftUni Judge System:

Exercises: Problem Description

Lesson Slides

The post Java Basics: Full Course (13-Hour Free Video Tutorial + 74 Exercises) appeared first on SoftUni Global.

]]>
https://softuni.org/code-lessons/java-basics-full-course-free-13-hours-video-plus-74-exercises/feed/ 0