当前位置:网站首页>【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方法


边栏推荐
- It is recommended to collect a thousand ways to write sql row to column!!
- 【一起学Rust | 基础篇】rust函数与流程控制详解
- 基于flask写的一个小商城mall项目
- 大伟 Golang之路
- three.js 报错信息 RGBELoader.js:46 RGBELoader Bad File Format: bad initial token
- MyCat中间件高可用、读写分离、分片、主从切换、ER分片
- Learn weekly - 64 - a v2ex style source BBS program
- 多元宇宙:重塑新商业格局
- 学习周刊-总第64期-一个v2ex风格的开源论坛程序
- 一次node文件操作过多排查过程总结
猜你喜欢

考完PMP后有什么益处

Paddlelite compilation and code running through the disk

2022最新 wifi大师小程序独立版3.0.8

Alibaba architects spent a year sorting out the "Lucene advanced document", and you are also a big factory employee!

Std:: vector copy, append, nested access

【Untitled】

使用Tenserboard可视化深度学习训练过程

PaddleLite 编译以及代码跑通复盘

Learning with Recoverable Forgetting阅读心得

为什么应该在开发环境中使用 Kubernetes
随机推荐
幸运抽奖系统带后台源码
Why should kubernetes be used in development environments
【年中总结】创业3年,越来越穷,还是坚持架构平台
迁徙数据平台简单介绍
从零开始Blazor Server(3)--添加cookie授权
From scratch Blazor Server (3) - add cookie authorization
Applied practical skills of deep reinforcement learning
黑马四小时入门学习记录-3|网络应用
[image detection] Research on cumulative weighted edge detection method based on gray image, with matlab code
基本.分块
Lucky draw system with background source code
HMS Core Discovery 16 review | with tiger mound, embracing new AI "voice" state
Package delivery (greedy)
微信怎么知道别人删除了你?批量检测方法(建群)
多元宇宙:重塑新商业格局
On CompareTo method in string
INVALID_ARGUMENT : Invalid rank for input: modelInput Got: 3 Expected: 4 Please fix either the input
How to use grep to find pattern matching across multiple lines
c语言:来实现一个小程序n子棋(已五子棋为例)
MarkDown高阶语法手册