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:
-
- How to understand reflection in java
- Reflection in Java means that in the running state, for any class, you can know what methods and properties the class has, and for any object, you can call its methods and properties.
- JavaBase 6638 2019-11-12 17:07:17
-
- What is rewriting in java
- The inheritance feature of classes in Java programs can produce a subclass. When the subclass inherits the parent class, it will have the non-private properties of the parent class. In the subclass, you can add your own properties, and you can also extend the methods in the parent class. , to enhance its own functions, which is called rewriting, also called copying or overwriting.
- JavaBase 6068 2019-11-12 16:54:01
-
- Understanding the concept of caching in java
- The cache in Java refers to the buffer for data exchange. When a certain piece of hardware wants to read data, it will first query the data from the cache and execute it directly. If it does not exist, it will get it from the memory.
- JavaBase 2176 2019-11-12 16:51:12
-
- Eclipse cannot create java virtual machine
- Solution to the inability to create a virtual machine: 1. Open the eclipse.ini file in the eclipse directory; 2. Modify the –launcher.XXMaxPermSize property; 3. Modify it to 128m, save and restart.
- JavaBase 3127 2019-11-12 16:35:48
-
- What is static in java? How to understand?
- Static (static) in Java is a keyword mainly used to create domain variables or methods that are independent of specific objects. If a member variable is shared by all objects, then the member variable should be defined as a static variable.
- JavaBase 5831 2019-11-12 16:34:09
-
- The file name downloaded by java is garbled
- Solution to the garbled file name downloaded by java: 1. Use URLEncoder for encoding for the IE browser core; 2. Use getBytes for non-IE browsers to transcode; 3. Change tomcat and eclipse encoding to utf-8.
- JavaBase 2135 2019-11-12 16:19:14
-
- What software is written in java
- Software written in Java includes: 1. Eclipse and IDEA programming software; 2. Games include "Minecraft"; 3. Big data storage software includes Hadoop and Elasticsearch; 4. Most Android applications are also developed using Java; 5. Enterprise management application software and so on.
- JavaBase 12712 2019-11-12 16:04:46
-
- What are the design patterns in Java?
- The design patterns in Java include: Strategy pattern, Agent pattern, Singleton pattern, Multiple instance pattern, Factory method pattern, Abstract factory pattern, Facade pattern, Adapter pattern, Template method pattern, Builder pattern, Bridge pattern, and Command pattern.
- JavaBase 2721 2019-11-12 15:53:07
-
- What are the exceptions in java
- Java exceptions include: 1. Null pointer exception; 2. Mathematical operator exception; 3. Array subscript out-of-bounds exception; 4. Access permission exception; 5. Method parameter exception; 6. Specified class does not exist exception, etc.
- JavaBase 4199 2019-11-12 15:44:27
-
- Examples of sorting methods in java
- To implement sorting in Java, you can move the largest element in the sequence to be sorted to the end in each pass, and the remainder is the new sequence to be sorted. Repeat this step until all elements are sorted.
- JavaBase 4111 2019-11-12 15:36:28
-
- What are the commonly used libraries in Java?
- Commonly used class libraries in Java include: 1. The java.lang package is the most commonly used. The classes in the package can design basic Java programs; 2. The java.awt package can provide methods for creating graphical interfaces, including buttons, text boxes and lists. Box, etc.; 3. The java.io package provides system input and output control, etc.
- JavaBase 3846 2019-11-12 15:15:42
-
- How to understand the concept of packages in Java
- Packages in Java are containers of classes, used to separate class name spaces. If no package name is specified, all programs belong to a default unnamed package. The package mechanism in Java can prevent duplicate class names in one space.
- JavaBase 2932 2019-11-12 15:04:55
-
- The difference between method overloading and overriding in java
- The difference between method overloading and overwriting in Java is: method overloading occurs when two or more methods in the same class have the same method name but different parameters, while method overwriting is used by subclasses to redefine parent class methods. Case.
- JavaBase 5596 2019-11-12 14:50:25
-
- How to define a class in java
- The method of defining a class in Java: first write the keyword class, followed by the class name, indicating that this is a class; then define member variables and member methods inside the class. The member variables are outside the method, and there is no static before the member method.
- JavaBase 12593 2019-11-12 14:38:26
-
- The difference between characters and bytes in java
- The difference between characters and bytes in Java is: characters are semantic units, and characters are encoded. One character can be encoded into 1 or more bytes; bytes are the basic data type in Java, used to declare characters. Section type variable.
- JavaBase 2958 2019-11-12 14:37:37