current location:Home > Technical Articles > Java

  • Subarray with given sum in Java with different approaches
    Subarray with given sum in Java with different approaches
    Finding a subarray with a given sum is a common problem that often appears in coding interviews and competitive programming. This problem can be solved using various techniques, each with its own trade-offs regarding time complexity and space complex
    javaTutorial 913 2024-08-28 13:31:13
  • Java program to remove duplicates from a given stack
    Java program to remove duplicates from a given stack
    In this article, we’ll explore two methods to remove duplicate elements from a stack in Java. We’ll compare a straightforward approach with nested loops and a more efficient method using a HashSet. The goal is to demonstrate how to optimize duplicate
    javaTutorial 473 2024-08-28 12:01:04
  • Extending Quarkus: When and How to Write Your Own Extensions
    Extending Quarkus: When and How to Write Your Own Extensions
    Quarkus, with its innovative extension framework, offers developers a powerful way to integrate various technologies seamlessly into their applications. These extensions simplify configuration, enable dependency injection, and optimize performance, m
    javaTutorial 504 2024-08-28 06:41:03
  • Java Exception Handling
    Java Exception Handling
    The Basics Understanding Exceptions: What Happens When Things Go Wrong? Imagine you're playing a game, and suddenly, your character falls into a pit. What would you do? You’d probably restart the game or find a way to avoid the pit n
    javaTutorial 387 2024-08-28 06:37:02
  • Improving the performance of Spring Boot applications - Part II
    Improving the performance of Spring Boot applications - Part II
    In the first part of this article, we learned how to improve the performance of our applications, replacing Tomcat with Undertow, which is a high-performance web server, in addition to enabling and configuring data compression, to reduce
    javaTutorial 527 2024-08-28 06:35:06
  • Try this Overload the Queue constructor
    Try this Overload the Queue constructor
    The project aims to improve the Queue class by adding two new constructors. The first builder will create a new queue from another existing queue. The second constructor will allow you to create a queue with initial values. These builders enhance
    javaTutorial 1044 2024-08-28 06:35:02
  • Method Overloading
    Method Overloading
    Java allows method overloading, where two or more methods of the same class can share the same name. Method overloading occurs when the method parameter declarations are different. Method overloading is a form of impingement
    javaTutorial 910 2024-08-28 06:33:36
  • Demystifying Quarkus Extension Development: Jandex vs. AdditionalBeanBuildItem
    Demystifying Quarkus Extension Development: Jandex vs. AdditionalBeanBuildItem
    Welcome to a comprehensive exploration of two key aspects in Quarkus extension development: Jandex and AdditionalBeanBuildItem.This article aims to elucidate the differences between these approaches, offering insights into their roles, applications,
    javaTutorial 906 2024-08-28 06:33:33
  • Returning objects
    Returning objects
    A method can return any data type, including class types. An example is the ErrorMsg class, which can be used to report errors. The getErrorMsg() method of the ErrorMsg class returns a String object. This String object contains the description
    javaTutorial 1029 2024-08-28 06:32:03
  • Overloading constructors
    Overloading constructors
    Constructors can also be overloaded, just like methods. Constructor overloading allows you to create objects in different ways. The MyClass class has four overloaded constructors, each initializing the object in a different way.
    javaTutorial 1138 2024-08-28 06:30:33
  • JavaFX Dock project
    JavaFX Dock project
    Hello World! I would like to share my learning journey with JavaFX by demonstrating a small project in the form of a 'dock'. The goal of this project is to create a bar at the bottom of the screen where program icons can be placed and launched
    javaTutorial 1031 2024-08-27 22:30:32
  • Configuring JDBC to Connect to Databricks Using Java Spring Boot and JdbcTemplate
    Configuring JDBC to Connect to Databricks Using Java Spring Boot and JdbcTemplate
    In the world of software development, connecting to various data sources is an essential skill. Databricks, a cloud-based data analytics platform, offers a powerful way to process and analyze large volumes of data. In this post, we will explore how t
    javaTutorial 1110 2024-08-27 20:00:53
  • Eager vs Lazy Initialization of Spring Beans
    Eager vs Lazy Initialization of Spring Beans
    In Spring, one of the fundamental concepts revolves around the initialization of beans. When developing applications using the Spring Framework, you have the option to choose between eager and lazy initialization of beans. Both have their unique adva
    javaTutorial 757 2024-08-27 20:00:50
  • Finally
    Finally
    The finally block is a construct in Java that is often used in conjunction with the try-catch block and is used to place code that you want to always run. After the codes in the try block are executed, an exception may occur.
    javaTutorial 805 2024-08-27 20:00:37
  • How to Generate Java WebSocket API Documentation Using Smart-Doc
    How to Generate Java WebSocket API Documentation Using Smart-Doc
    Introduction Smart-Doc is a powerful documentation generation tool that helps developers easily create clear and detailed API documentation for Java projects. With the growing popularity of WebSocket technology, Smart-Doc has added support for
    javaTutorial 617 2024-08-27 20:00:33

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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!