当前位置:网站首页>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() {
}
}
边栏推荐
- These two mosquito repellent ingredients are harmful to babies. Families with babies should pay attention to choosing mosquito repellent products
- 2022-06-23 VGMP-OSPF-域間安全策略-NAT策略(更新中)
- VMware virtual machine C disk expansion
- Realize PDF to picture conversion with C #
- 2022 - 06 - 23 vgmp - OSPF - Inter - Domain Security Policy - nat Policy (Update)
- IC_EDA_ALL虚拟机(丰富版):questasim、vivado、vcs、verdi、dc、pt、spyglass、icc2、synplify、INCISIVE、IC617、MMSIM、工艺库
- Operation principle of lua on C: Foundation
- 第8章、MapReduce 生产经验
- 利用C#实现Pdf转图片
- Numerical method for solving optimal control problem (I) -- gradient method
猜你喜欢

These two mosquito repellent ingredients are harmful to babies. Families with babies should pay attention to choosing mosquito repellent products

Realize PDF to picture conversion with C #

Mysql

The dynamic analysis and calculation of expressions are really delicious for flee

2022-06-23 VGMP-OSPF-域間安全策略-NAT策略(更新中)

How to migrate or replicate VMware virtual machine systems

The pressure of large institutions in the bear market has doubled. Will the giant whales such as gray scale, tether and micro strategy become 'giant thunder'?

Chapter 8. MapReduce production experience

JMeter linked database

DBNet:具有可微分二值化的实时场景文本检测
随机推荐
UNI-APP中条件注释 实现跨段兼容、导航跳转 和 传参、组件创建使用和生命周期函数
Floating menu operation
After the Chrome browser is updated, lodop printing cannot be called
机器学习 | 简单但是能提升模型效果的特征标准化方法(RobustScaler、MinMaxScaler、StandardScaler 比较和解析)
C2338 Cannot format an argument. To make type T formattable provide a formatter<T> specialization:
保险公司怎么查高血压?
Mysql
2022 cisp-pte (III) command execution
Summary of remote connection of MySQL
2022 CISP-PTE(三)命令执行
pytorch练习小项目
Selenium ide installation recording and local project maintenance
ssh链接远程服务器 及 远程图形化界面的本地显示
Know flex box
[Code] if (list! = null & list. Size() > 0) optimization, set empty judgment implementation method
Modify MySQL password
简易密码锁
Luogu problem list: [mathematics 1] basic mathematics problems
2022 - 06 - 23 vgmp - OSPF - Inter - Domain Security Policy - nat Policy (Update)
The win7 computer can't start. Turn the CPU fan and stop it