当前位置:网站首页>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() {
}
}
边栏推荐
- 【C#/VB.NET】 将PDF转为SVG/Image, SVG/Image转PDF
- Cannot get value with @value, null
- [set theory] relational closure (relational closure solution | relational graph closure | relational matrix closure | closure operation and relational properties | closure compound operation)
- 熊市里的大机构压力倍增,灰度、Tether、微策略等巨鲸会不会成为'巨雷'?
- Printer related problem record
- 2022-06-23 VGMP-OSPF-域间安全策略-NAT策略(更新中)
- The dynamic analysis and calculation of expressions are really delicious for flee
- [untitled] 8 simplified address book
- Selenium - by changing the window size, the width, height and length of different models will be different
- Modify MySQL password
猜你喜欢

Journal quotidien des questions (11)

Install VM tools

The list of "I'm crazy about open source" was released in the first week, with 160 developers on the list
![[set theory] relational closure (relational closure solution | relational graph closure | relational matrix closure | closure operation and relational properties | closure compound operation)](/img/a4/00aca72b268f77fe4fb24ac06289f5.jpg)
[set theory] relational closure (relational closure solution | relational graph closure | relational matrix closure | closure operation and relational properties | closure compound operation)

Create your own deep learning environment with CONDA

Chapter 8. MapReduce production experience

每日刷題記錄 (十一)

SQL implementation merges multiple rows of records into one row

2022-06-23 vgmp OSPF inter domain security policy NAT policy (under update)

SQL实现将多行记录合并成一行
随机推荐
远端rostopic的本地rviz调用及显示
Read blog type data from mysql, Chinese garbled code - solved
Golang operation redis: write and read hash type data
Printer related problem record
After the Chrome browser is updated, lodop printing cannot be called
VMware virtual machine C disk expansion
The most classic 100 sentences in the world famous works
conda和pip的区别
[untitled] 5 self use history
Mysql
Use @data in Lombok to simplify entity class code
认识弹性盒子flex
2022 East China Normal University postgraduate entrance examination machine test questions - detailed solution
POI dealing with Excel learning
Chapter 8. MapReduce production experience
Luogu problem list: [mathematics 1] basic mathematics problems
C2338 Cannot format an argument. To make type T formattable provide a formatter<T> specialization:
The difference between CONDA and pip
Heap sort and priority queue
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'?