当前位置:网站首页>【day04】IDEA、方法
【day04】IDEA、方法
2022-07-29 11:41:00 【饮马翰海】
01_集成开发环境IDE的概述
Intergrated Development Environment,IDE,集成开发环境

02_IntelliJ-IDEA的安装


03_IDEA的项目结构






04_IDEA的HelloWorld


05_IDEA的基本配置

06_IDEA的常用快捷键

Alt+Enter:自动修正代码
Ctrl+Alt+L:格式化代码
07_IDEA的项目关闭打开与模块导入
导入day05-code模块





08_复习简单方法的使用




09_方法的定义格式


10_方法的三种调用格式

打印调用:这个输出语句先去调用方法,然后将方法最后的返回值最后打印输出


11_方法的调用流程图解

12_对比有参数和无参数

13_对比有返回值和无返回值



14_方法练习1_比较两个数字是否相同

15_方法练习2_求出1到100的累加和

16_方法练习3_打印指定次数的HelloWorld

17_方法的注意事项


18_方法重载的基本使用



19_方法重载的注意事项(多看看)



20_重载练习1_四种不同参数类型的方法





21_重载练习2_判断方法的正确重载

22_重载练习3_实现重载的println方法


边栏推荐
- Learn weekly - 64 - a v2ex style source BBS program
- QML(二):设置自定义窗体
- 2.1冒泡排序(Bubble Sorting)
- Self collection online computer wallpaper PHP source code v2.0 adaptive end
- The interviewer training courseware (very practical in-house training courseware)
- MyCat中间件高可用、读写分离、分片、主从切换、ER分片
- ECCV 2022 | SSP: 自支持匹配的小样本任务新思想
- 怎么以管理员身份运行cmd?以管理员身份运行cmd方法介绍
- TCP and UDP
- 【图像检测】基于灰度图像的积累加权边缘检测方法研究附matlab代码
猜你喜欢

【图像检测】基于灰度图像的积累加权边缘检测方法研究附matlab代码
![[image detection] Research on cumulative weighted edge detection method based on gray image, with matlab code](/img/c1/f962f1c1d9f75732157d49a5d1d0d6.png)
[image detection] Research on cumulative weighted edge detection method based on gray image, with matlab code

文件上传漏洞
【一起学Rust | 基础篇】rust函数与流程控制详解

MySql启动、连接sqlog、主从复制、双机热备(开机时)

如何开始为您的 Kubernetes 应用程序编写 Helm 图表

Paddlelite compilation and code running through the disk

【无标题】

mapbox 地图 生成矢量数据圆

解决 Chrome 浏览器被毒霸篡改问题
随机推荐
[image detection] Research on cumulative weighted edge detection method based on gray image, with matlab code
Dawei gbase8s cursor stability read esql test case
How to use grep to display file names and line numbers before matching lines
报表查询字段集sql摘记
力扣sql刷题(四)
XSS漏洞分析
如何在匹配行之前使用 grep 显示文件名和行号
Flink UDF 函数汇总
浅谈string中的compareTo方法
c语言:来实现一个小程序n子棋(已五子棋为例)
惠及6亿人 投资98亿 沿江高铁武宜段最新进展来了!
RediSearch 发布 v2.4.10 & v2.4.11 版本
"Knowledge Collection" article to understand mysql index!!(recommended collection)
AMH6.X升级到AMH7.0后,登录后台提示MySQL连接出错怎么解决?
HMS Core音频编辑服务音源分离与空间音频渲染,助力快速进入3D音频的世界
Design and implementation of gbase8s Informix dodker high availability cluster self recovery cluster startup command oninitdb
QML(一):自定义圆角按钮的处理
MyCat中间件高可用、读写分离、分片、主从切换、ER分片
【年中总结】创业3年,越来越穷,还是坚持架构平台
Deep understanding of c # delegate into the fast lanes