current location:Home > Technical Articles > Java > JavaBase

  • How to determine whether char is a space in java
    How to determine whether char is a space in java
    The method to determine whether "char" is a space in "java" is: first save the string to be determined into a character array by calling the "toCharArray" method, and then use the "for" loop to determine the length of the character array, and judge by the length to determine whether "char" is a space.
    JavaBase 7081 2019-11-28 09:22:39
  • What does this in java mean?
    What does this in java mean?
    This in java represents the class instance itself. Usage of this keyword: 1. This keyword can be used to reference instance variables of the current class. 2. You can use the this keyword to call methods of the current class. 3. The this() constructor can be used to call the constructor of the current class.
    JavaBase 11518 2019-11-28 09:20:41
  • Detailed explanation of JAVA exceptions and exception handling
    Detailed explanation of JAVA exceptions and exception handling
    An exception is something different from the norm, something different from normal, something wrong. In Java, situations that block the current method or scope are called exceptions. This article provides you with a detailed introduction to exceptions and exception handling methods in Java.
    JavaBase 2086 2019-11-27 17:39:20
  • What are the commonly used methods in java arrays
    What are the commonly used methods in java arrays
    Commonly used methods in java arrays are: 1. binarySearch method; 2. sort method; 3. copyOf and copyOFRange methods; 4. arraycopy method. This article is recommended by the Java Quick Start column. Everyone is welcome to communicate and learn together.
    JavaBase 3239 2019-11-27 17:19:53
  • How to implement recursive arrangement in java
    How to implement recursive arrangement in java
    This article is recommended by the "Zero Basic Introduction to Java" column. Everyone is welcome to learn and communicate together! If recursion in Java is understood from the perspective of data structure, it is actually a stack. The following example clearly demonstrates the recursive arrangement process.
    JavaBase 2059 2019-11-27 17:04:02
  • Analysis on == and equals in java
    Analysis on == and equals in java
    This article is recommended by the Java Programming Introduction column, I hope it can help everyone understand it better. When "==" is used to compare basic data types, the comparison is whether the contents are equal. When comparing reference data types, the comparison is whether the memory addresses are equal.
    JavaBase 1761 2019-11-27 16:21:07
  • Detailed explanation of the usage of enum (enumeration) in java
    Detailed explanation of the usage of enum (enumeration) in java
    This article introduces the usage of enum in Java from the java introductory column. I hope it can help students in need. Usage of enum: Usage 1, constant; Usage 2, switch; Usage 3, add new methods to the enumeration; Usage 4, override the enumeration method.
    JavaBase 2679 2019-11-27 15:49:34
  • Detailed explanation of java class loader ClassLoader
    Detailed explanation of java class loader ClassLoader
    A class loader is an object used to load classes, and ClassLoader is an abstract class. If we are given the binary name of a class, the class loader should try to locate or generate the data that makes up the defining class. A typical strategy is to convert a given binary name into a file name, and then read the class corresponding to the file name from the file system.
    JavaBase 2240 2019-11-27 15:35:50
  • LRU cache implementation in java
    LRU cache implementation in java
    LRU cache caches a certain amount of data and deletes some expired data when it exceeds a set threshold. This article introduces us to the implementation of LRU cache in Java in detail, and provides us with some help when learning the Java language.
    JavaBase 2296 2019-11-27 14:43:13
  • How to calculate the least common multiple in java
    How to calculate the least common multiple in java
    This article is written by the Java Development Introduction column to introduce how to calculate the least common multiple in Java. I hope it can help you. To calculate the least common multiple, you need to know: the least common multiple of two adjacent non-zero natural numbers is their product; the least common multiple of two adjacent odd numbers is their product.
    JavaBase 5836 2019-11-27 14:39:49
  • Detailed introduction to java generics
    Detailed introduction to java generics
    This article gives us a detailed introduction to generics in java. Java generics are "parameterized types", which means that the type is parameterized from the original specific type, similar to the variable parameters in the method. At this time, the type is also defined in parameter form, and then the specific type is passed in when using/calling .
    JavaBase 1646 2019-11-27 14:31:50
  • Detailed graphic explanation of Java Web project basics
    Detailed graphic explanation of Java Web project basics
    Java Web is the sum of technologies that use Java technology to solve related web and Internet fields. This article introduces in detail the basic structure of the java web project and some basic knowledge in the java web project. I hope it can provide some help when you are developing java.
    JavaBase 3493 2019-11-27 14:19:38
  • Detailed introduction to java reflection mechanism
    Detailed introduction to java reflection mechanism
    Java reflection is a key property of Java being considered a dynamic (or quasi-dynamic) language. The Java reflection mechanism allows programs to load, detect, and use classes that are completely unknown during compilation at runtime. This article introduces the reflection mechanism in java in detail.
    JavaBase 2133 2019-11-27 13:58:14
  • Introduction to Java RMI (with examples)
    Introduction to Java RMI (with examples)
    Java RMI refers to remote method invocation, which is a mechanism that allows an object on a Java virtual machine to call methods on an object in another Java virtual machine. Any object that can be called with this method must implement the remote interface.
    JavaBase 2217 2019-11-27 13:36:48
  • How to traverse the elements in an ArrayList collection in java and output it
    How to traverse the elements in an ArrayList collection in java and output it
    This article introduces the method of traversing the elements in the ArrayList collection from the java introductory program column. I hope it can help students in need. The method of traversing elements in a collection is generally through a for loop and traversing according to the size of the collection. The following program details the traversal process.
    JavaBase 6957 2019-11-27 13:31:20

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!