Java inheritance problem
Java inheritance problem
first, the override is only for methods. The attribute with the same name in the subclass and the parent class is only that the subclass overrides the same attribute of the parent class; all attributes and methods in the parent class will be inherited by the subclass (the attribute method modi ...
Added by stuartriches on Wed, 09 Mar 2022 13:19:08 +0200
Java -- interface definition and examples
Abstract and interface appear frequently in both ordinary study and job interview. This paper combines the previous article Java -- abstract definitions and examples Learning interface.
Through this article, you will gain: (1) the basic concept of interface (2) what is the difference between abstraction and interface
1: Overview
Interface i ...
Added by day_tripperz on Wed, 09 Mar 2022 13:17:57 +0200
SpringBoot10: static resource processing for Web development
Research on Web Development
brief introduction
OK, students, next, let's start to learn about SpringBoot and Web development. From this chapter on, it belongs to our practical part;
In fact, the things of SpringBoot are very simple to use, because the biggest feature of SpringBoot is automatic assembly.
Steps to use SpringBoot:
1. Create a ...
Added by manhattanpaul on Wed, 09 Mar 2022 12:50:37 +0200
[Redis] 4. Explain three special data types in detail: Geospatial, hyperlog and Bitmap
These three special data types are not a new type; The bottom layer is one of the five types; For example: Zset, String
1. Geospatial geographic location
geo: geographical location[ ˈ spe ɪʃ l] spatial
Positioning of friends, people nearby, taxi distance calculation?
Redis's Geo is in redis3 Version 2 is launched! This function c ...
Added by donbonzo on Wed, 09 Mar 2022 12:00:22 +0200
Java blocking queue -- BlockingQueue
1. What is a blocking queue?
A blocking queue is a queue that supports two additional operations. These two additional operations are: when the queue is empty, the thread that gets the element will wait for the queue to become non empty. When the queue is full, the thread that stores the element waits for the queue to become available. Blockin ...
Added by feidakila on Wed, 09 Mar 2022 11:20:55 +0200
Summary of basic knowledge points of Java II: abstract classes and interfaces
1: Abstract classes and interfaces
abstract class
1. Abstraction is to abstract the common characteristics of a class of entities. The parent class provides some attributes and behaviors for the child class, and the child class implements specific behaviors according to business requirements.
2. Abstract classes are decorated with abstract. Su ...
Added by lol on Wed, 09 Mar 2022 10:03:03 +0200
Actual JVM: principle and application of ClassLoader
preface
I was asked such a question in the original interview. If you build a Java Lang. String class. Is the String class used in the system your defined String class or the String class in the native api?
You can try and find that the String class in the native api is still used in the final system. Why does this happen? This has to start ...
Added by colbyg on Wed, 09 Mar 2022 09:56:50 +0200
AOP knowledge for Android engineers
Author: sloth is not lazy
If you have been exposed to Java background development, you must have heard the concept of AOP. What is it and what is its use for our Android development? This blog explores the familiar and unfamiliar concept of AOP from the perspective of Android Engineers:
What is AOP
AOP is the acronym of Aspect Oriented P ...
Added by SerpentSword on Wed, 09 Mar 2022 08:20:54 +0200
How does Dubbo service check parameters gracefully
1, Background
When the server provides interface services to the outside, whether it is providing HTTP interfaces to the front end or RPC interfaces to other internal servers, it often faces such a problem, that is, how to gracefully solve the verification of various interface parameters?
In the early days, when making the HTTP interface prov ...
Added by golfromeo on Wed, 09 Mar 2022 07:06:44 +0200
Blue Bridge Cup AcWing learning notes 4-2 simulated learning (with relevant Blue Bridge real questions: wrong ticket, moving distance, date problem, flight time, takeout priority) (Java)
Students who participate in the blue bridge cup can pay attention to the blogger. The blogger is also preparing the Blue Bridge Cup and can brush questions with the blogger's blog.
Blue Bridge Cup
My AcWing
The title and pictures are from the counseling class of group ab of Blue Bridge Cup C + +
simulation
According to the operation g ...
Added by phant0m on Wed, 09 Mar 2022 06:42:04 +0200