current location:Home > Technical Articles > Java > JavaBase

  • What is reflection mechanism in java
    What is reflection mechanism in java
    The Java reflection mechanism is in the running state. For any class, all properties and methods of this class can be obtained, and for any object, any of its properties and methods can be called.
    JavaBase 5690 2019-11-11 10:37:26
  • what is java interface
    what is java interface
    An interface is an abstract type in the JAVA programming language, which is a collection of abstract methods. An interface is usually declared with interface. A class inherits the abstract methods of the interface by inheriting the interface.
    JavaBase 15702 2019-11-11 10:26:09
  • How to decompile java class files
    How to decompile java class files
    The method to decompile Java class files is: 1. Download jdgui suitable for your own environment; 2. View the class file; 3. Run the decompressed jdgui program; 4. Select the class file that needs to be decompiled; 5. Decompile.
    JavaBase 5161 2019-11-11 10:19:30
  • What is reflection in java?
    What is reflection in java?
    Java reflection means that in the running state of a Java program, for any class, all properties and methods of this class can be obtained; for a given object, any of its properties and methods can be called. This method of dynamically obtaining the contents of a class and dynamically calling objects is called reflection mechanism.
    JavaBase 5774 2019-11-11 10:04:08
  • what is encapsulated java
    what is encapsulated java
    Java encapsulation is an object-oriented design method. It is a method of packaging and hiding the implementation details of abstract functional interfaces; encapsulation has the advantages of reducing coupling and accurately controlling member variables.
    JavaBase 4125 2019-11-11 09:47:28
  • What is factory pattern java
    What is factory pattern java
    Factory pattern is one of the most commonly used design patterns in Java. This type of design pattern is a creational pattern, which provides an optimal way to create objects. You only need to call the factory method to create an object, which has the advantages of easy extension and encapsulation.
    JavaBase 3758 2019-11-11 09:34:57
  • Solve the main class cannot be found or cannot be loaded error in Java
    Solve the main class cannot be found or cannot be loaded error in Java
    The reason for the error that the main class cannot be found or cannot be loaded in Java is: by default, the java instruction searches for the address of the class file in the directory specified in the CLASSPATH environment variable. Solution: Only use the java package name + class name to execute.
    JavaBase 9991 2019-11-11 09:20:42
  • what is collection java
    what is collection java
    The Java collection class is stored in the java.util package and is a container used to store objects. Collections can only store objects, and they are references to objects rather than objects themselves; collections can store different types and an unlimited number of data types.
    JavaBase 3424 2019-11-11 09:17:01
  • The difference between interface and abstract class in java
    The difference between interface and abstract class in java
    The difference between interfaces and abstract classes in Java: Abstract classes can only inherit once, but can implement multiple interfaces; interfaces and abstract classes must implement all methods in them. If there are unimplemented abstract methods in the abstract class, then the subclass also needs to Defined as an abstract class. Abstract classes can have non-abstract methods.
    JavaBase 3312 2019-11-11 09:12:33
  • The difference between java heap and stack
    The difference between java heap and stack
    The difference between heap and stack in Java is: 1. Stack memory stores local variables, and heap memory stores entities; 2. Stack memory is updated faster than heap memory; 3. The variables stored in stack memory end their life cycle. Released, the entities stored in the heap memory will be recycled by the garbage collection mechanism from time to time.
    JavaBase 5243 2019-11-09 17:58:31
  • The difference between java abstract class and interface
    The difference between java abstract class and interface
    The differences between abstract classes and interfaces in Java are: 1. Abstract classes can contain ordinary methods, while interfaces can only contain public and abstract methods; 2. Member variables in abstract classes have no access restrictions, while variables in interfaces can only Modified by public, static, and final.
    JavaBase 3168 2019-11-09 17:45:37
  • The difference between java nio and io
    The difference between java nio and io
    The difference between nio and io in Java is: 1. io is stream-oriented, and nio is buffer-oriented; 2. The various streams of io are blocking, and nio is non-blocking mode; 3. nio has a selector mechanism, while io None.
    JavaBase 2633 2019-11-09 16:57:59
  • The difference between java = and ==
    The difference between java = and ==
    The difference between the symbol = and the symbol == in the Java language is: in the Java language, the symbol = represents an assignment operation, while the symbol == is used to determine whether the values ​​on both sides of the symbol are equal.
    JavaBase 4726 2019-11-09 16:25:30
  • The difference between java threads and processes
    The difference between java threads and processes
    The difference between java threads and processes: a thread only belongs to one process, but a process can have multiple threads, but at least one thread; threads are the basic unit of processor scheduling, but processes are not.
    JavaBase 3111 2019-11-09 14:02:10
  • what is java abstract class
    what is java abstract class
    Java abstract class uses the abstract keyword to modify a class. This class is called an abstract class. An abstract class is a collection of public attributes of all its subclasses and a class that contains one or more abstract methods.
    JavaBase 7190 2019-11-09 13:22:05

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