current location:Home > Technical Articles > Java > JavaBase
- 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:
-
- 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 7672 2020-06-28 15:52:23
-
- 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 18797 2020-06-28 16:06:17
-
- 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 2167 2020-06-24 18:09:43
-
- 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 11487 2020-06-24 17:08:28
-
- 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 2847 2020-06-23 16:37:39
-
- 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 4484 2020-06-23 16:23:43
-
- 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 3393 2020-06-23 14:42:06
-
- 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 7684 2020-06-23 09:23:17
-
- 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 5485 2020-06-22 17:58:22
-
- 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 7365 2020-06-22 17:40:27
-
- 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 20543 2020-06-22 17:29:24
-
- 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 6681 2020-06-22 15:51:58
-
- 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 2947 2020-06-22 14:06:12
-
- 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 11817 2020-06-22 10:26:18
-
- 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 5172 2020-06-20 16:10:06