current location:Home > Technical Articles > Java > JavaBase

  • What is the interface
    What is the interface
    An interface is a declaration of a series of methods and a collection of method characteristics. An interface only has method characteristics but no method implementation, so these methods can be implemented by different classes in different places, and these implementations can have different behaviors (functions). ).
    JavaBase 7508 2020-06-28 15:52:23
  • What are the characteristics of abstract classes
    What are the characteristics of abstract classes
    The characteristics of abstract classes are: 1. Both abstract classes and abstract methods need to be modified with abstract; 2. There can be no abstract methods in abstract classes, but abstract methods must be in abstract classes; 3. Abstract classes cannot directly create objects; 4. Abstract Classes have constructor methods.
    JavaBase 18579 2020-06-28 16:06:17
  • Java Reactor Reactor Pattern
    Java Reactor Reactor Pattern
    This article mainly introduces the detailed explanation of how to use the Java Reactor reactor mode. The article introduces it in great detail through sample code. It has certain reference learning value for everyone's study or work. Friends who need it can refer to it.
    JavaBase 1975 2020-06-24 18:09:43
  • What are the keywords used to define interfaces in Java?
    What are the keywords used to define interfaces in Java?
    The keyword for defining interfaces in Java is "interface". "Interface" is the keyword for interface operations in object-oriented programming languages. Its function is to combine required members to encapsulate a set of certain functions. An interface cannot be instantiated directly, nor can it contain any code for members, only the members themselves are defined.
    JavaBase 11346 2020-06-24 17:08:28
  • What is the difference between Java abstract classes and interfaces?
    What is the difference between Java abstract classes and interfaces?
    The difference between Java abstract classes and interfaces: 1. Abstract classes can provide partial implementation of certain methods, but interfaces cannot; 2. Abstract classes are a single inheritance mechanism, and its subclasses do not necessarily have to implement all unimplemented methods in the parent class. , and interfaces. A class can have multiple interfaces, and all methods must be implemented.
    JavaBase 2665 2020-06-23 16:37:39
  • Is Java a JDK?
    Is Java a JDK?
    Java is not JDK. JDK is a product for Java developers. It is the core of the entire Java, including Java runtime environment, Java tools and Java basic class libraries. Java is an object-oriented programming that can write cross-platform application software. language.
    JavaBase 4299 2020-06-23 16:23:43
  • Spring Security Principles
    Spring Security Principles
    Spring Security adopts the chain of responsibility design pattern. There is a long filter chain. First, the client initiates a request and enters the Security filter chain; then it determines whether it is a login; finally, it finds the corresponding authentication manager based on the URI. , perform authentication.
    JavaBase 3225 2020-06-23 14:42:06
  • Detailed explanation of Spring IoC and AOP principles
    Detailed explanation of Spring IoC and AOP principles
    The principle of Spring IoC is implemented through the reflection mechanism. When instantiating a class, it calls the set method in the class through reflection to inject the class attributes previously saved in the HashMap into the class. AOP aspect-oriented programming is based on IoC and is an adaptation of OOP. A useful supplement that can reduce the coupling between modules.
    JavaBase 7538 2020-06-23 09:23:17
  • How to generate random numbers in java
    How to generate random numbers in java
    Methods for randomly generating numbers in Java include: 1. Use the [new Random()] constructor to generate a random number generator to generate numbers; 2. Use the [Math.random()] method to generate a random number generator to generate numbers. .
    JavaBase 5317 2020-06-22 17:58:22
  • Detailed explanation of trim() method in java
    Detailed explanation of trim() method in java
    In Java, you can use the "trim()" function to remove excess spaces. This function is used to remove excess spaces at both ends of the string. Its syntax is "trim()", and its parameter return value is the excess spaces at both ends of the string. A string of spaces, and no matter how many spaces there are at both ends, they will be removed, and the spaces in the middle will not be removed.
    JavaBase 7204 2020-06-22 17:40:27
  • How to import Java files and run idea
    How to import Java files and run idea
    The method for importing and running idea java files is: first open the idea software and enter the startup interface; then click [lmport Project], select the pom.xml file, and click Open, keep [next]; finally click [finish] to find the main method, click Run.
    JavaBase 20327 2020-06-22 17:29:24
  • What are the eight basic data types in java
    What are the eight basic data types in java
    The eight basic data types of Java are: 1. Integer type, including byte, short, int, long; 2. Floating point type, including float, double; 3. Logical type, boolean [it has only two values ​​​​which can be true and false] ;4. Character type, char.
    JavaBase 6490 2020-06-22 15:51:58
  • Create a SpringBoot project using IDEA
    Create a SpringBoot project using IDEA
    The steps for creating a springboot project with idea are: first open IDEA, create a new project, and select [Spring Initializr]; then enter [Artifact] and check Web; finally click finish to complete.
    JavaBase 2793 2020-06-22 14:06:12
  • Is 'spring provides abstraction of the jms layer' correct?
    Is 'spring provides abstraction of the jms layer' correct?
    Spring provides abstraction of the jms layer, which is correct. Spring provides a jms integration framework, which simplifies the use of "jms api" just like spring integrates "jdbc api"; jms can be simply divided into two functional areas, message production and message consumption.
    JavaBase 11645 2020-06-22 10:26:18
  • Can static methods in java be overridden?
    Can static methods in java be overridden?
    Static methods in Java cannot be overridden, but they can be inherited. If the static method names of the parent class and the child class are the same, the parent class static method will be hidden. Static methods are bound at compile time, and method overrides are bound at runtime.
    JavaBase 5014 2020-06-20 16:10:06

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!