current location:Home > Technical Articles > Java > javaTutorial

  • Understanding Merge Sort Algorithm (with Examples in Java)
    Understanding Merge Sort Algorithm (with Examples in Java)
    Merge Sort: A Comprehensive Guide Merge Sort is a highly efficient sorting algorithm frequently employed in various programming languages, either independently or as part of a hybrid approach. Its foundation lies in the Divide and Conquer paradigm:
    javaTutorial 769 2025-01-18 02:23:09
  • Understanding Sorting Algorithms (with Examples in Java)
    Understanding Sorting Algorithms (with Examples in Java)
    Sorting arranges list elements in a specific order. For example, we might sort a list in ascending order: This process is accomplished using a sorting algorithm. Various Sorting Algorithms Many sorting algorithms exist. Here are a few examples: B
    javaTutorial 611 2025-01-18 02:19:10
  • Understanding Insertion Sort Algorithm (with Examples in Java)
    Understanding Insertion Sort Algorithm (with Examples in Java)
    Insertion sort is an iterative sorting algorithm. It builds a sorted subarray one element at a time by inserting each unsorted element into its correct position within the sorted subarray. Think of sorting a hand of playing cards – you start with on
    javaTutorial 591 2025-01-18 02:16:13
  • Understanding Bubble Sort Algorithm (with Examples in Java)
    Understanding Bubble Sort Algorithm (with Examples in Java)
    Detailed explanation of Bubble Sort: a simple sorting algorithm Bubble sort is one of the simplest sorting algorithms. It works by repeatedly comparing adjacent elements and swapping them if they are out of order. For example, if the sort order is ascending, adjacent elements are compared and the larger element is placed on the right. In each iteration, we compare only the unsorted elements and place the largest element at the last position of the unsorted elements in the array. The algorithm is aptly named bubble sort because the elements move toward the right side of the array on each iteration, like a bubble rising to the surface of the water. How bubble sort works Suppose we want to sort this array in ascending order: first iteration In the first iteration, we try to move the largest element to
    javaTutorial 193 2025-01-18 02:14:09
  • Understanding Selection Sort Algorithm (with Examples in Java)
    Understanding Selection Sort Algorithm (with Examples in Java)
    Selection Sort: A Step-by-Step Guide Selection Sort is a straightforward sorting algorithm. It repeatedly finds the minimum element from the unsorted part of the list and places it at the beginning. This process continues until the entire list is so
    javaTutorial 114 2025-01-18 02:11:09
  • Understanding Quick Sort Algorithm (with Examples in Java)
    Understanding Quick Sort Algorithm (with Examples in Java)
    Detailed explanation of QuickSort algorithm: an efficient sorting tool QuickSort is an efficient sorting algorithm based on the divide-and-conquer strategy. The divide-and-conquer method decomposes the problem into smaller sub-problems, solves these sub-problems separately, and then combines the solutions of the sub-problems to obtain the final solution. In quick sort, an array is divided by selecting a partition element, which determines the split point of the array. Before partitioning, the position of the partitioning element is rearranged so that it is before the element that is larger than it and after the element that is smaller than it. The left and right subarrays will be divided recursively in this manner until each subarray contains only one element, at which point the array is sorted. How quick sort works Let's take the example of sorting the following array in ascending order: Step 1: Select the pivot element
    javaTutorial 444 2025-01-18 02:05:16
  • Enhancing Security with App Signature Verification
    Enhancing Security with App Signature Verification
    Enhance application signature verification to improve security In the ever-changing world of mobile app development, security is no longer a luxury but a necessity. A key aspect of application security is application signature verification. This process ensures the integrity and authenticity of the application, preventing tampering and unauthorized modification. Let’s explore what application signature verification is, why it’s important, and how to implement it effectively. What is app signature verification? App signature verification involves verifying an application's digital signature to ensure it has not been altered since it was signed by the original developer. Every Android app has a unique cryptographic signature generated using a keystore. When you install or update an app, Android compares its signature to existing signatures. If you sign
    javaTutorial 394 2025-01-17 22:10:11
  • Leetcode — Permutation Difference between Two Strings
    Leetcode — Permutation Difference between Two Strings
    This is a simple question with the following meaning: Given two strings s and t, where each character in s occurs at most once and t is a permutation of s. The permutation difference between s and t is defined as the sum of the absolute differences between the index of occurrence of each character in s and the index of its occurrence in t . Returns the permutation difference between s and t. Example 1: Input: s = "abc", t = "bac" Output: 2 explain: For s = "abc" and t = "bac", the difference in the permutations of s and t is equal to the sum of: "a" in s
    javaTutorial 796 2025-01-17 22:08:10
  • How does Java work under the hood?
    How does Java work under the hood?
    First, what is Java? Java is a multi-platform object-oriented programming language. "Multi-platform" means that not only can it be used to create web applications, mobile applications, and games, but it can also run on any device you can think of. Object-oriented programming (OOP) means that its main concepts revolve around objects, which are simply data with properties and behaviors. Now, how does it work in our computers? The Java process can be likened to a journey, and the best way to describe it is to break it down into steps: Step 1: Code Script As we all know, code needs to be written in the form of ".java" files in an editor (Notepad, IDE, etc.). But this code can only be understood by humans, so
    javaTutorial 943 2025-01-17 22:07:12
  • The Latest Trends, Frameworks, and Libraries in Java ()
    The Latest Trends, Frameworks, and Libraries in Java ()
    Java's enduring versatility and adaptability continue to propel its evolution, keeping pace with technological advancements and industry needs. In 2025, Java developers are witnessing significant changes, including impactful updates, innovative fram
    javaTutorial 938 2025-01-17 20:29:10
  • owerful Java Frameworks for Serverless Development: Boost Your Cloud-Native Apps
    owerful Java Frameworks for Serverless Development: Boost Your Cloud-Native Apps
    As a prolific author, I encourage you to explore my books on Amazon. Remember to follow me on Medium for continued support. Thank you for your invaluable backing! Java's impact on serverless application development is undeniable. As a seasoned dev
    javaTutorial 725 2025-01-17 20:25:09
  • Mastering Reactive Java: ssential Project Reactor Operators for Efficient Data Processing
    Mastering Reactive Java: ssential Project Reactor Operators for Efficient Data Processing
    As a best-selling author, I invite you to explore my books on Amazon. Follow me on Medium for more insightful content and show your support! Your encouragement means the world to me! Reactive programming has revolutionized Java data processing. Pr
    javaTutorial 141 2025-01-17 20:23:08
  • Passing objects as parameters in java
    Passing objects as parameters in java
    Java's object parameter passing is a cornerstone of its functionality, enabling methods to directly manipulate objects. Mastering this mechanism is key to writing effective Java code. This detailed explanation covers all aspects. 1. Java's Parameter
    javaTutorial 677 2025-01-17 20:19:08
  • Trampoline, example in Java
    Trampoline, example in Java
    Let's write a simple program that adds numbers from n to 0. But instead of using iterative approach, why not try recursive approach? We call this program sum. We know sum(0) == 0, so this is our base case. How do we arrive at the base case? sum(n) == n sum(n-1) until finally sum(0) is reached. The Java code is as follows: int sum(int n) { if (n == 0) { return 0; } return n sum(n - 1); } Recursion problem? Recursion on base case distance input
    javaTutorial 554 2025-01-17 20:18:09
  • Why You Should Learn Kotlin in 5
    Why You Should Learn Kotlin in 5
    Kotlin: The Programming Language to Master in 2025 Hey Dev.to community! Let's talk about Kotlin—a fantastic programming language that's perfect for boosting your career in 2025. It cleverly blends the best of Java with modern features, making it a
    javaTutorial 839 2025-01-17 20:10:10

Tool Recommendations

jQuery enterprise message form contact code

jQuery enterprise message form contact code is a simple and practical enterprise message form and contact us introduction page code.
form button
2024-02-29

HTML5 MP3 music box playback effects

HTML5 MP3 music box playback special effect is an mp3 music player based on HTML5 css3 to create cute music box emoticons and click the switch button.

HTML5 cool particle animation navigation menu special effects

HTML5 cool particle animation navigation menu special effect is a special effect that changes color when the navigation menu is hovered by the mouse.
Menu navigation
2024-02-29

jQuery visual form drag and drop editing code

jQuery visual form drag and drop editing code is a visual form based on jQuery and bootstrap framework.
form button
2024-02-29

Organic fruit and vegetable supplier web template Bootstrap5

An organic fruit and vegetable supplier web template-Bootstrap5
Bootstrap template
2023-02-03

Bootstrap3 multifunctional data information background management responsive web page template-Novus

Bootstrap3 multifunctional data information background management responsive web page template-Novus
backend template
2023-02-02

Real estate resource service platform web page template Bootstrap5

Real estate resource service platform web page template Bootstrap5
Bootstrap template
2023-02-02

Simple resume information web template Bootstrap4

Simple resume information web template Bootstrap4
Bootstrap template
2023-02-02

Cute summer elements vector material (EPS PNG)

This is a cute summer element vector material, including the sun, sun hat, coconut tree, bikini, airplane, watermelon, ice cream, ice cream, cold drink, swimming ring, flip-flops, pineapple, conch, shell, starfish, crab, Lemons, sunscreen, sunglasses, etc., the materials are provided in EPS and PNG formats, including JPG previews.
PNG material
2024-05-09

Four red 2023 graduation badges vector material (AI EPS PNG)

This is a red 2023 graduation badge vector material, four in total, available in AI, EPS and PNG formats, including JPG preview.
PNG material
2024-02-29

Singing bird and cart filled with flowers design spring banner vector material (AI EPS)

This is a spring banner vector material designed with singing birds and a cart full of flowers. It is available in AI and EPS formats, including JPG preview.
banner picture
2024-02-29

Golden graduation cap vector material (EPS PNG)

This is a golden graduation cap vector material, available in EPS and PNG formats, including JPG preview.
PNG material
2024-02-27

Home Decor Cleaning and Repair Service Company Website Template

Home Decoration Cleaning and Maintenance Service Company Website Template is a website template download suitable for promotional websites that provide home decoration, cleaning, maintenance and other service organizations. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-05-09

Fresh color personal resume guide page template

Fresh color matching personal job application resume guide page template is a personal job search resume work display guide page web template download suitable for fresh color matching style. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-29

Designer Creative Job Resume Web Template

Designer Creative Job Resume Web Template is a downloadable web template for personal job resume display suitable for various designer positions. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-28

Modern engineering construction company website template

The modern engineering and construction company website template is a downloadable website template suitable for promotion of the engineering and construction service industry. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-28