current location:Home > Technical Articles > Java
- Direction:
- All web3.0 Backend Development Web Front-end Database Operation and Maintenance Development Tools PHP Framework Daily Programming WeChat Applet Common Problem Other Tech CMS Tutorial Java System Tutorial Computer Tutorials Hardware Tutorial Mobile Tutorial Software Tutorial Mobile Game Tutorial
- Classify:
-
- Mastering RecyclerView in Java for Android Development
- RecyclerView is a powerful and flexible Android component for displaying large data sets. It is a more advanced and efficient version of ListView, designed to handle large amounts of data with minimal memory consumption. This article will walk you th
- javaTutorial 922 2024-07-16 12:45:17
-
- LeetCode DayDynamic Programming Part 5
- 518. Coin Change II You are given an integer array coins representing coins of different denominations and an integer amount representing a total amount of money. Return the number of combinations that make up that amount. If that amount of mo
- javaTutorial 700 2024-07-16 12:01:49
-
- What is the main difference between assertTimeout and assertTimeoutPreemptively?
- In this blog post, I’m gonna explain what is the main difference between in these methods. First of all why do we use this methods. This method will be useful when we test our methods performance or we want to know how much time takes our method to c
- javaTutorial 702 2024-07-16 11:42:42
-
- LeetCode DayDynamic Programming Part 3
- 0-1 Bag Problem Description of the topic Ming is a scientist who needs to attend an important international scientific conference to present his latest research. He needs to bring some research materials with him, but he has limited space in h
- javaTutorial 743 2024-07-16 10:41:41
-
- Understanding @Transactional in Spring Boot
- Managing transactions in Spring Boot can be done using @Transactional annotation. In this blog post, we'll explore how to use @Transactional to ensure data consistency and simplify error handling in your spring boot applications. 1. Basic U
- javaTutorial 972 2024-07-16 09:55:56
-
- Case Study: Computing Factorials
- A recursive method is one that invokes itself. Many mathematical functions are defined using recursion. Let’s begin with a simple example. The factorial of a number n can be recursively defined as follows: 0! = 1; n! = n × (n - 1)!; n > 0 How do
- javaTutorial 875 2024-07-16 07:11:19
-
- Ask the Expert - If/else or switch
- Under what conditions should I use an if-else-if ladder instead of a switch when coding a multipath branch? Response: In general, use an if-else-if ladder when the conditions controlling the selection process do not depend on a single
- javaTutorial 1093 2024-07-16 06:27:39
-
- LeetCode DayGreedy Algorithms Part 2
- 122. Best Time to Buy and Sell Stock II You are given an integer array prices where prices[i] is the price of a given stock on the ith day. On each day, you may decide to buy and/or sell the stock. You can only hold at most one share of the st
- javaTutorial 1038 2024-07-16 04:07:01
-
- TextField
- A text field can be used to enter or display a string. TextField is a subclass of TextInputControl. Figure below lists the properties and constructors in TextField. Here is an example of creating a noneditable text field with red text color, a spe
- javaTutorial 346 2024-07-16 03:38:10
-
- LeetCode DayBackTracking Part 4
- 491. Non-decreasing Subsequences Given an integer array nums, return all the different possible non-decreasing subsequences of the given array with at least two elements. You may return the answer in any order. Example 1: Input: nums = [4,6,7
- javaTutorial 833 2024-07-16 01:50:28
-
- Distinction With(out) a difference
- I'm relearning Java. It's one of the first programming languages I studied in school and it is hitting differently this time around. For instance, I never mastered when to use public vs. private, the purpose of (String[] args) or the logic behind c
- javaTutorial 460 2024-07-15 21:41:51
-
- Binary I/O
- Java provides many classes for performing text I/O and binary I/O. Files can be classified as either text or binary. A file that can be processed (read, created, or modified) using a text editor such as Notepad on Windows or vi on UNIX is called a te
- javaTutorial 634 2024-07-15 16:47:51
-
- Declaration and Initialization of Variables in Java
- Variable Declaration All variables must be declared before use. Necessary for the compiler to know the data type of the variable. Allows strict type checking. Variable Initialization It is recommended to give a value to the
- javaTutorial 1153 2024-07-15 16:37:30
-
- Notes for Object Oriented Design | Part-
- Part 1 - Object-Oriented Analysis and Design 1. Object-Oriented Thinking Object-oriented thinking is fundamental for object-oriented modelling, which is a core aspect of this post. It involves understanding problems and concepts by d
- javaTutorial 801 2024-07-15 10:37:52
-
- ListView
- A list view is a control that basically performs the same function as a combo box, but it enables the user to choose a single value or multiple values. Figure below lists several frequently used properties and constructors in ListView. ListView is d
- javaTutorial 696 2024-07-12 20:44:11