编程语言
基础数据类型 int >Integer long >Long float >Float double >Double boolean >Boolean char[] >String 数组 基本类型的一组数据,使用数组来表示 int[] arrs = new int[5]; 数据越界问题--QA需注意 ...
分类:编程语言 时间:2021-06-16 22:00:45 收藏:0 阅读:15
C语言 #define NULL ((void *)0) /** * Definition for a binary tree node.*/ struct TreeNode { int val; struct TreeNode *left; struct TreeNode *right; }; / ...
分类:编程语言 时间:2021-06-16 22:00:21 收藏:0 阅读:20
hello 新建文件 后缀名为java xxxx.java notepad++ 编辑 代码 public class hello{ public static void main(String[] args){ System.out.print("hello "); } } cmd上编译 javac ...
分类:编程语言 时间:2021-06-16 21:59:54 收藏:0 阅读:21
问题 在开发的时候,使用到Lettuce连接redis,一段时间后不操作,再去操作redis,会报连接超时错误,在其重连后又可使用。 原因是:Lettuce 自适应拓扑刷新(Adaptive updates)与定时拓扑刷新(Periodic updates) 是默认关闭的导致问题的出现 解决的方案 ...
分类:编程语言 时间:2021-06-16 21:59:11 收藏:0 阅读:51
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="wi ...
分类:编程语言 时间:2021-06-16 21:58:19 收藏:0 阅读:19
一、makefile 初探 1. 什么是 make指令 和 makefile? make 指令就像它的名字一样 ,用于制作某个文件(make filename),或者根据 makefile target 自动化编译、打包、生成一个文件(可执行文件或压缩文件)。 例如,我们想根据 a.txt 和 b.txt 文件合成 output.txt 文件,可以书写如下 makefile 文件: output
分类:编程语言 时间:2021-06-16 21:56:55 收藏:0 阅读:19
#1.导包import imaplibimport reimport base64 #2.连接邮箱host = "imap-mail.outlook.com" username = "xxx@outlook.com"password = "xxx"port = 993serv = imaplib.I ...
分类:编程语言 时间:2021-06-16 21:56:43 收藏:0 阅读:25
Java中int与string相互转换 一: 将整数 int 转换成字串 String int num=666; String str=""; str= num+""; //第一种方法:会产生两个String对象 str= String.valueOf(num); //第二种方法:直接使用Strin ...
分类:编程语言 时间:2021-06-16 21:54:42 收藏:0 阅读:15
全球 -- 英语(全球) en-ww 亚洲 -- 简体中文(中国) zh-cn -- 繁体中文(中国-台湾地区) zh-tw -- 繁体中文(中国-香港) zh-hk -- 英语(中国-香港) en-hk -- 俄语(俄罗斯) ru-ru -- 韩语(韩国) ko-kr -- 日语(日本) ja-j ...
分类:编程语言 时间:2021-06-16 21:50:22 收藏:0 阅读:16
jdk1.7.0_79 众所周知,Java是一门不用程序员手动管理内存的语言,全靠JVM自动管理内存,既然是自动管理,那必然有一个垃圾内存的回收机制或者回收算法。本文将介绍几种常见的垃圾回收(下文简称GC)算法。 在Java堆上分配一个内存给实例对象时,此时在虚拟机栈上引用型变量就会存放这个实例对象 ...
分类:编程语言 时间:2021-06-16 21:50:12 收藏:0 阅读:16
186186286351284
上一页共512833条下一页
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!