当前位置:网站首页>Abstract learning
Abstract learning
2022-07-03 06:46:00 【Xiao Xie Bu touch Yu】
abstract Study
package com.oop.Demo07;
//abstract abstract class : class extends: Single inheritance ( Interfaces can inherit more
public abstract class Action {
// constraint
//abstract , Abstract method Only the method name There is no way to achieve
public abstract void doSomething();
//1. You can't new This abstract class It can only be implemented by subclasses : constraint
//2. Ordinary methods can be written in abstract classes
//3. Abstract methods must be in abstract classes
}
===================================================
package com.oop.Demo07;
public class A extends Action {
@Override
public void doSomething() {
}
}
边栏推荐
- 卡特兰数(Catalan)的应用场景
- Create your own deep learning environment with CONDA
- DNS forward query:
- 有意思的鼠標指針交互探究
- 每日刷題記錄 (十一)
- SQL implementation merges multiple rows of records into one row
- conda和pip的区别
- opencv鼠标键盘事件
- Daily question brushing record (11)
- 机器学习 | 简单但是能提升模型效果的特征标准化方法(RobustScaler、MinMaxScaler、StandardScaler 比较和解析)
猜你喜欢
Chapter 8. MapReduce production experience
Daily question brushing record (11)
每日刷題記錄 (十一)
Selenium ide installation recording and local project maintenance
(翻译)异步编程:Async/Await在ASP.NET中的介绍
YOLOV3学习笔记
Mysql
2022 CISP-PTE(三)命令执行
YOLOV1学习笔记
Machine learning | simple but feature standardization methods that can improve the effect of the model (comparison and analysis of robustscaler, minmaxscaler, standardscaler)
随机推荐
这两种驱蚊成份对宝宝有害,有宝宝的家庭,选购驱蚊产品要注意
[open source project recommendation colugomum] this group of undergraduates open source retail industry solutions based on the domestic deep learning framework paddlepadddle
VMware virtual machine C disk expansion
Unittest attempt
golang操作redis:写入、读取kv数据
UNI-APP中条件注释 实现跨段兼容、导航跳转 和 传参、组件创建使用和生命周期函数
[5g NR] UE registration process
(翻译)异步编程:Async/Await在ASP.NET中的介绍
DNS forward query:
【LeetCode】Day93-两个数组的交集 II
vmware虚拟机C盘扩容
Mysql
[untitled] 8 simplified address book
Read blog type data from mysql, Chinese garbled code - solved
Operation principle of lua on C: Foundation
Chapter 8. MapReduce production experience
[set theory] equivalence relation (concept of equivalence relation | examples of equivalence relation | equivalence relation and closure)
Floating menu operation
Interface test weather API
Basic teaching of crawler code