current location:Home > Technical Articles > Java > JavaBase

  • How to understand reflection in java
    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 6557 2019-11-12 17:07:17
  • What is rewriting in java
    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 5972 2019-11-12 16:54:01
  • Understanding the concept of caching in java
    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 2085 2019-11-12 16:51:12
  • Eclipse cannot create java virtual machine
    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 3014 2019-11-12 16:35:48
  • What is static in java? How to understand?
    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 5732 2019-11-12 16:34:09
  • The file name downloaded by java is garbled
    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 2033 2019-11-12 16:19:14
  • What software is written in java
    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 12637 2019-11-12 16:04:46
  • What are the design patterns in Java?
    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 2640 2019-11-12 15:53:07
  • What are the exceptions in java
    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 4116 2019-11-12 15:44:27
  • Examples of sorting methods in java
    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 4052 2019-11-12 15:36:28
  • What are the commonly used libraries in Java?
    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 3750 2019-11-12 15:15:42
  • How to understand the concept of packages in Java
    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 2844 2019-11-12 15:04:55
  • The difference between method overloading and overriding in java
    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 5505 2019-11-12 14:50:25
  • How to define a class in java
    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 12501 2019-11-12 14:38:26
  • The difference between characters and bytes in java
    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 2879 2019-11-12 14:37:37

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!