This session is dedicated to examples and code in Java.
Java programming language is a powerful general-purpose programming language. It is based on object-oriented and is a class-based programming language.
Java runs the code in a Virtual Machine (JVM). Classes and interfaces are the core functionality of the Java platform.
Software Developers prefer Java to build mobile applications or desktop applications that use different operating systems and servers, such as Linux or Windows.
With more than 15 years of experience in teaching programming languages, I am focused on solving problems and explaining in detail the solutions.
In this session, I will explain the main components of Java programming, such as Java syntax, Java classes, data types, Java strings, Java packages, classic math problems explained in detail.
You can test your skills by trying to solve the most classical problems. Or you can try to understand the main concepts you should know to implement the algorithms.
For each program, we will test and show the console, as the output result.
A typical problem concerning Strings is to check if two strings are anagrams. It covers the concepts of Arrays and characters in a String.
The solution of the anagram checker
This is a typical Java program to find if the String is Palindrome. It covers the concepts of loops and comparing characters in a String.
The solution of the palindrome program in Java
A problem based on mathematics and so much applied in real life: The factorial of a number. It covers the concepts of the loop and math concepts.
The solution of the factorial program in Java
Check out the full guide to instance variable, and how is declared and used.
Importance of instance variable in Java
A very practical guide to implementing a web application in Spring Boot and a REST Service.
This is a typical example of a mathematical problem, here we discuss the algorithm and the solution in Java.
The solution of prime number checker
This is a comprehensive overview of the Java HashMap data structure. It explores the wide range of applications where to use Jaha HashMap.
From beginner to pro: an overview of Java HashMap
Check out this guide and unravel the mystery of Lamba Expressions
Design Patterns represent the best strategies that model the solutions to general problems in software development.
Design Patterns have two main usages in software development.
Design patterns provide the standard terminology and are specific to particular scenarios.
Design patterns have been evolved over a long period of time and they provide the best solutions to certain problems faced during software development. Learning these patterns helps inexperienced developers to learn software design in an easy and faster way.
Design Patters was initiated as a concept in 1994, when four authors Erich Gamma, Richard Helm, Ralph Johnson, and John Vlissides published the book Design Patterns – Elements of Reusable Object-Oriented Software.
These authors are collectively known as Gang of Four (GOF). According to these authors, design patterns are primarily based on the following principles of object-orientated design.
In Java Programming, there are mainly three types of design patterns:
Read the newest Tutorial: Observer Design Pattern in Java