编写能够满足如下条件的程序:1 a声明一个Person类,有name(String类型)、age(int类型)、sex(char类型)属性。
通过构造方法进行赋值。
一个show方法,前往String类型,内容如下:某某男(女)年龄b声明一个Student类,继承Person类,增加id(int,学号)属性,通过构造方法,利用super调用父类构造方法来进行变量赋值。
Override父类的show方法,前往String类型,内容如下:某某男(女)年龄学号提示:利用super调用父类的show方法得到除学号部分的String,然后加上学号的信息。
c声明一个Teacher类,继承Person,增加course(String,所教课程)属性,通过构造方法,利用super调用父类构造方法来进行变量赋值。
Override父类的show方法,前往String类型,内容如下:某某男(女)年龄所教课程提示:利用super调用父类的show方法得到除所教课程部分的String,然后加上所教课程的信息。
d声明PersonApp类,在其中的main方法中分别声明Person、Student、Teacher类型的变量,并通过构造方法初始化,然后显示各自的信息。
2 声明一个Shape接口,其中有计算面积(area)、周长(perimeter)的方法,有以下几个实现:Circle(圆),Rectangle(矩形),Triangle(三角形),都有计算面积、周长的方法。
2023/3/17 0:07:01 63KB java 代码
1
手机号码归属地json文件
2023/3/16 13:52:10 120.11MB 号码归属地 sql json
1
次要用于notepad++增加对json的转换处理。
解压后把NPPJSONViewer.dll放到plugins文件夹下,重启notepad++
2023/3/16 13:16:33 35KB notepad++ json插件
1
用来转换.json文件,不用手动的去操作,只需放在json文件目录下,运转即可
2023/3/16 5:35:28 70B dl
1
Afeasiblemethodofcombiningtheconceptoffluorescencehalf-lifeandthepowerdependentphotobleachingrateforcharacterizingthepracticalphotostabilityoffluorescentproteins(FPs)wasintroduced.Furthermore,byusingafluorescentphotostabilitystandard,arelativecomparisonofthepho
2023/3/15 11:49:48 294KB 荧光蛋白 160.2540 180.2520 300.6390
1
Revisingthistextbookhasbeenaspecialchallenge,foraverynicereason.Somanypeoplehavereadthisbook,andtaughtfromit,andevenlovedit.Thespiritofthebookcouldneverchange.Thistextwaswrittentohelpourteachingoflinearalgebrakeepupwiththeenormousimportanceofthissubject—whichjustcontinuestogrow.
2023/3/15 11:25:40 2.62MB maths linear algebra
1
爱普生R290win764位简体中文驱动。
官网找不到的东东,分享了。
2023/3/15 4:57:43 13.98MB R290 win7 64简体中文
1
完成PB9对JSON的支持.纯PB代码,无第三方DLL.
2023/3/14 6:40:23 82KB PB JSON
1
byMaartenvanSteen(Author)=============================Thisbookaimstoexplainthebasicsofgraphtheorythatareneededatanintroductorylevelforstudentsincomputerorinformationsciences.Tomotivatestudentsandtoshowthateventhesebasicnotionscanbeextremelyuseful,thebookalsoaimstoprovideanintroductiontothemodernfieldofnetworkscience.Mathematicsisoftenunnecessarilydifficultforstudents,attimesevenintimidating.Forthisreason,explicitattentionispaidinthefirstchapterstomathematicalnotationsandprooftechniques,emphasizingthatthenotationsformthebiggestobstacle,notthemathematicalconceptsthemselves.Thisapproachallowstograduallypreparestudentsforusingtoolsthatarenecessarytoputgraphtheorytowork:complexnetworks.Inthesecondpartofthebookthestudentlearnsaboutrandomnetworks,smallworlds,thestructureoftheInternetandtheWeb,peer-to-peersystems,andsocialnetworks.Again,everythingisdiscussedatanelementarylevel,butsuchthatintheendstudentsindeedhavethefeelingthatthey:1.Havelearnedhowtoreadandunderstandthebasicmathematicsrelatedtographtheory.
2023/3/14 5:11:42 5.73MB 图论 随机图 复杂网络
1
idea安装sonarlint无坑可用操作步骤:1、解压文件,将SonarLint文件夹复制到idea安装目录下的plugins下2、重启idea3、进入idea的setting,找到plugins,在里面勾选上SonarLint,使用确定4、再次重启idea,搞定
2023/3/14 2:04:07 21.79MB idea sonarlint
1
在日常工作中,钉钉打卡成了我生活中不可或缺的一部分。然而,有时候这个看似简单的任务却给我带来了不少烦恼。 每天早晚,我总是得牢记打开钉钉应用,点击"工作台",再找到"考勤打卡"进行签到。有时候因为工作忙碌,会忘记打卡,导致考勤异常,影响当月的工作评价。而且,由于我使用的是苹果手机,有时候系统更新后,钉钉的某些功能会出现异常,使得打卡变得更加麻烦。 另外,我的家人使用的是安卓手机,他们也经常抱怨钉钉打卡的繁琐。尤其是对于那些不太熟悉手机操作的长辈来说,每次打卡都是一次挑战。他们总是担心自己会操作失误,导致打卡失败。 为了解决这些烦恼,我开始思考是否可以通过编写一个全自动化脚本来实现钉钉打卡。经过一段时间的摸索和学习,我终于成功编写出了一个适用于苹果和安卓系统的钉钉打卡脚本。
2024-04-09 15:03 15KB 钉钉 钉钉打卡