码迷,mamicode.com
首页 >  
搜索关键字:string    ( 95377个结果
EventBus
implementation 'org.greenrobot:eventbus:3.2.0' EventBus package com.qiqi.app.bean; public class EventMessageWrap { public final String message; public ...
分类:其他好文   时间:2021-06-28 18:59:05    阅读次数:0
SeguenceIf
/*单if语句的格式: if(关系表达式){ 语句体; } */ public class SeguenceIf{ public static void main(String [] args){ System.out.println("今天天气不错,正在压马路,突然发现一个好玩的地方:网吧"); ...
分类:其他好文   时间:2021-06-28 18:55:48    阅读次数:0
16、方法的重载
方法的重载 public class MethodDemo05 { public static void main(String[] args) { int add1 = add(1, 2); System.out.println(add1); System.out.println(" "); in ...
分类:其他好文   时间:2021-06-28 18:55:14    阅读次数:0
17、可变参数
可变参数 实际上参数是数组 public class MethodDemo07 { public static void main(String[] args) { MethodDemo07 demo07 = new MethodDemo07(); demo07.test(1,2,3,4,5,6,7 ...
分类:其他好文   时间:2021-06-28 18:53:22    阅读次数:0
18、递归
递归 public class MethodDemo09 { //2! 2*1 //3! 3*2*1 //5! 5*4*3*2*1 public static void main(String[] args) { MethodDemo09 demo09 = new MethodDemo09(); i ...
分类:其他好文   时间:2021-06-28 18:52:21    阅读次数:0
19、案例
案例 public class MethodDemo11 { public static void main(String[] args) { judge(); } //加法 public static double add(double x,double y) { return x + y; } ...
分类:其他好文   时间:2021-06-28 18:50:17    阅读次数:0
leetcode 22括号生成 暴力法
搬个官方题解 class Solution { bool valid(const string& str) {//验证是否合法 int balance = 0; for (char c : str) { if (c == '(') { ++balance; } else { --balance; } ...
分类:其他好文   时间:2021-06-28 18:28:25    阅读次数:0
SpringBoot系列-01-Http-Post请求
//region 1.0 接收 Form 表单数据/** * Post:PostMapping 传 Body 参数 form-data * */@PostMapping(value = "/book/h11")public String addHeader(@RequestParam("name") ...
分类:编程语言   时间:2021-06-28 18:18:45    阅读次数:0
xml文件通用打开方式
unit DataStructUnit; interface type txmlvulrd =record sname:string; svul:string; end; txmlbasedDataStruct = class private Fifissubitem: Boolean; funct ...
分类:其他好文   时间:2021-06-28 18:17:02    阅读次数:0
Java - Hello World
新建文件后缀名为.java 编写代码 public class Hello{ public static void main(String[] args) { System.out.print("Hello,world!"); } } 通过javac编译 java文件,生成一个同名class文件 运 ...
分类:编程语言   时间:2021-06-28 18:02:14    阅读次数:0
95377条   上一页 1 ... 7 8 9 10 11 ... 9538 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!