- 博客(4)
- 收藏
- 关注
原创 JAVA学习笔记之运算符
1、将两个数a=10,b=12,两个值互换(1)class wx_J1{public static void main(String args[]){int a = 10;int b = 12;int c = a ;a= b;b = c;System.out.println("a = "+ a+ " " +"b="+ b);}}(2)class
2015-12-08 22:26:27
373
原创 JAVA 实现Timestamp和String的相互转换
Timestamp转化为String: SimpleDateFormat ab = new SimpleDateFormat("yyyyMMddHHmmssSSS"); String payCreateTime = ab.format(new Date().getTime());String转化为Timestamp: SimpleDateFormat ab = new SimpleD
2015-11-11 15:12:39
820
原创 JAVA学习笔记之数据类型
JAVA中涵盖了八个基本的数据类型,分别是:短整型(short),整型(Int),长整型(Long),单精度浮点型(Float),双精度浮点型(Double),字节型(Byte),字符型(Char),布尔类型(Boolean)
2015-09-08 22:44:00
356
原创 下拉框可实现select与input功能的简便做法
通过布局来实现下拉框的select与Input功能;通过document.getElementById('box').value= document.getElementById('SS').options[document.getElementById('SS').selectedIndex].value,实现下拉框的值传参到Input里去。
2015-09-01 09:55:07
13071
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人