码迷,mamicode.com
首页 >  
搜索关键字:string of slice    ( 96886个结果
行转列例子
create table test.t_20210429 ( app String, cnt Nullable(UInt32), per Nullable(UInt32) ) ENGINE=MergeTree() order by app; insert into test.t_20210429 v ...
分类:其他好文   时间:2021-04-30 12:18:08    阅读次数:0
String类常用方法
indexOf():返回指定字符的索引。 charAt():返回指定索引处的字符。 replace():字符串替换。 trim():去除字符串两端空白。 split():分割字符串,返回一个分割后的字符串数组。 getBytes():返回字符串的 byte 类型数组。 length():返回字符串长 ...
分类:其他好文   时间:2021-04-30 12:17:29    阅读次数:0
类、对象(oop)
```javapublic class oopDemo6Student { String name; int age; public void study(){ System.out.println(this.name+"在学习"); }}//person >名字、生日、身高、体重//类(抽象) > ...
分类:其他好文   时间:2021-04-30 12:16:19    阅读次数:0
_循环嵌套、Random随机数、数组
一、循环嵌套 1. 下列代码的运行结果是( ) public static void main(String[] args){ int count = 0; for(int j = 0;j<3;j++) { for(int i = 0;i<6;i++) { count++; } } System.o ...
分类:编程语言   时间:2021-04-30 12:15:08    阅读次数:0
一文读懂C++ String类在算法竞赛中的常见用法
一文读懂C++ String类在算法竞赛中的常见用法 string 相较于C语言的字符数组可方便太多了,在算法竞赛中能大大节省我们的时间。以下是我在刷题中会使用到的常见String用法。注释都写好了。 #include <iostream> #include <string> using names ...
分类:编程语言   时间:2021-04-30 12:14:45    阅读次数:0
兔子对数
package com.itheima.demo01.arr; public class ShuZuTuZi { public static void main(String[] args) { //为了存储多个月兔子对数,定义一个数组,用动态初始化完成数组元素的初始化,长度为20 int[] ar ...
分类:其他好文   时间:2021-04-30 12:11:35    阅读次数:0
php 处理网站访问日志
<?php $r = tail('dd.ddmap.log','Baiduspider'); echo '<pre>'; print_r($r); echo '</pre>'; /** * @param $filename * @param false $num * @param int $n * ...
分类:Web程序   时间:2021-04-30 12:11:16    阅读次数:0
java 删除list中符合条件的对象(几种方法,避免入坑)
一、首先list遍历方法有那么几种:使用for循环、iterator、还有就是lambda表达式循环 1、首先创建一个测试类 class User2{ Integer id; String name; public User2(Integer id, String name) { this.id = ...
分类:编程语言   时间:2021-04-30 12:02:56    阅读次数:0
打印电影信息
package com.itheima.demo02; public class ShangYingDianYing { public static void main(String[] args) { String starring = "刘鑫 张玉提 高源"; System.out.printl ...
分类:其他好文   时间:2021-04-30 11:59:42    阅读次数:0
打印个人信息
package com.itheima.demo02; public class GeRenXinXi { public static void main(String[] args) { String name ="张三"; System.out.println(name); int age = ...
分类:其他好文   时间:2021-04-30 11:58:53    阅读次数:0
96886条   上一页 1 ... 53 54 55 56 57 ... 9689 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!