current location:Home > Technical Articles > Java > JavaBase

  • How to understand the concept of rewriting in java
    How to understand the concept of rewriting in java
    Overriding in Java refers to the situation where there are two methods with the same name and parameter list in the Java subclass and the parent class. Among them, the parameter list of the overridden method must be exactly the same as the parameter list of the overridden method.
    JavaBase 7510 2019-11-12 09:39:09
  • What is java abstract class
    What is java abstract class
    A Java abstract class is a class modified with the abstract keyword. 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 3913 2019-11-11 11:48:30
  • what are java generics
    what are java generics
    Java generics means that the type is parameterized from the original specific type, similar to the variable parameters in the method. At this time, the type is also defined in parameter form, and then the specific type is passed in when using/calling.
    JavaBase 3621 2019-11-11 11:40:20
  • Can java interfaces be inherited?
    Can java interfaces be inherited?
    Java interfaces can be inherited, and it is multiple inheritance, but only interfaces can inherit interfaces, and classes can only implement interfaces. An interface can inherit another interface or multiple interfaces, and a common class can implement multiple interfaces.
    JavaBase 7276 2019-11-11 11:23:02
  • how to run java
    how to run java
    How to run java: First download and install [JDK 6.0]; then create a new variable in the computer system variables, the variable name is [JAVA_HOME] and enter [cmd] in the run window; then create a new variable in the root directory of the C drive subdirectories and java files; finally run java in the command line window.
    JavaBase 13144 2019-11-11 11:22:38
  • The difference between java interface and abstract class
    The difference between java interface and abstract class
    The difference between a Java interface and an abstract class: All methods in an interface are implicitly abstract; while an abstract class can contain both abstract and non-abstract methods. A class can implement many interfaces, but can only inherit one abstract class. An abstract class can implement an interface without providing implementations of the interface methods.
    JavaBase 3465 2019-11-11 11:18:02
  • what are java environment variables
    what are java environment variables
    Java environment variable refers to a parameter in the operating system's running environment. After configuring the java environment variables, you can use java and javac commands anywhere in the system. When executing commands, you no longer need to enter the bin directory under the java installation directory.
    JavaBase 6944 2020-09-05 17:06:23
  • The difference between java classes and interfaces
    The difference between java classes and interfaces
    The difference between Java classes and interfaces: All properties of interfaces are public static final; all classes are public by default; subclasses can only inherit one parent class (extends) and can inherit multiple interfaces (implement).
    JavaBase 3721 2019-11-11 11:08:59
  • what is java inheritance
    what is java inheritance
    Java inheritance is a technology that uses the definition of an existing class as a basis to create a new class. The definition of a new class can add new data or new functions, or use the functions of the parent class, but it cannot selectively inherit the parent class. This technology makes it very easy to reuse previous code, which can greatly shorten the development cycle and reduce development costs.
    JavaBase 10132 2019-11-11 10:48:56
  • How to connect to database in java
    How to connect to database in java
    Java uses JDBC to connect to the database. It is a Java API used to execute SQL statements and can provide unified access to a variety of relational databases. It consists of a set of classes and interfaces written in the Java language.
    JavaBase 6007 2019-11-11 10:45:45
  • 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 5582 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 15589 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 5061 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 5669 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 4023 2019-11-11 09:47:28

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