码迷,mamicode.com
首页 >  
搜索关键字:void    ( 62627个结果
简单分析AtomicInteger中的addAndget方法
简单使用AtomicInteger 首先贴出以下的代码,简单的使用AtomicInteger这个类来实现+1的操作。 import java.util.concurrent.atomic.AtomicInteger; public class CASTest { public static void ...
分类:其他好文   时间:2021-04-09 13:27:53    阅读次数:0
java语言基础--数据类型:详解
数据类型--char 一、char 1.1 char占用2个字节 char取值范围:【0~65535】 char采用unicode编码方式 char类型的字面量用单引号括起来 char可以存储一个汉字 1 public class Test{ 2 3 public static void main( ...
分类:编程语言   时间:2021-04-09 13:22:22    阅读次数:0
Java基础00-循环语句7
1. for循环语句 1.1 循环结构 1.2 for循环语句的格式 执行流程图: 1.3 案例 public static void main(String[] args) { int count = 0; for (int i = 100; i < 1000; i++) { int ge = i ...
分类:编程语言   时间:2021-04-09 13:18:38    阅读次数:0
Java程序(数组扩容的尝试)
import java.util.Scanner; public class ArrayAdd { public static void main(String[] args) { int arr[] = {1,2,3}; //初始数组 System.out.println(" 初始数组情况 "); ...
分类:编程语言   时间:2021-04-09 13:01:24    阅读次数:0
【算法总结】递归和非递归实现二叉树的先序,中序,后序遍历
我的 CSDN 博客:blog.csdn.net/gdutxiaoxu我的掘金:juejin.im/user/220747…github: github.com/gdutxiaoxu/微信公众号:程序员徐公 前言 说到树的四种遍历方式,可能大家第一时间都会想到它的四种遍历方式,并快速说了它的特点。 ...
分类:编程语言   时间:2021-04-09 13:01:00    阅读次数:0
地铁计费器
1.设计一个简易的地铁计费系统 乘坐地铁需要记录乘坐时间,离开时间,费用扣款,并且显示详细的信息 2.(乘坐编号,kaishi乘坐时间,Onuse是否使用) 数据库连接代码:` package wbsys.entity; import java.sql.*; public class Lianjie ...
分类:其他好文   时间:2021-04-09 13:00:20    阅读次数:0
uboot
uboot启动代码流程 board.c文件__attribute__((nomips16)) void board_init_r (gd_t *id, ulong dest_addr)函数 1、调用do_bootm if(BootType == '3') { char *argv[2]; sprin ...
分类:其他好文   时间:2021-04-09 12:50:57    阅读次数:0
Java实现一个简易计算器
做一个多功能计算器 欢迎使用计算器系统 int + int double + double 、 计算 n 的阶乘 计算 a的 n次方、 退出系统 import java.util.Scanner; public class Calculator { public static void main(S ...
分类:编程语言   时间:2021-04-09 12:50:24    阅读次数:0
Java 线程实现原理
Linux 操作系统中创建线程的方式 int pthread_create(pthread_t *thread, const pthread_attr_t *attr, void *(*start_routine) (void *), void *arg); 参数名 参数定义 参数解释 pthrea ...
分类:编程语言   时间:2021-04-08 13:36:39    阅读次数:0
pat甲级 1031 Hello World for U
题目: Given any string of N (≥) characters, you are asked to form the characters into the shape of U. For example, helloworld can be printed as: h d e l ...
分类:其他好文   时间:2021-04-08 13:31:19    阅读次数:0
62627条   上一页 1 ... 51 52 53 54 55 ... 6263 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!