码迷,mamicode.com
首页 >  
搜索关键字:string    ( 95377个结果)
1.javaScript数据类型
typeof操作符字符串描述undefined未定义boolean布尔值string字符串number数值object对象或nullfunction函数 1 var box; 2 alert(typeof box); //box是Undefined类型,值是undefined,类型返回...
分类:编程语言   时间:2015-02-23 00:12:05    阅读次数:229
Java学习笔记15
Object类是所有类、数组、枚举类的父类,是类层次结构的根类。每个类都使用Object作为超类。所有对象(包括 数组)都实现这个类的方法。  Object类实现了以下方法: 我们来看看源码中toString()方法是如何定义的: public String toString() { return getCl...
分类:编程语言   时间:2015-02-22 23:10:00    阅读次数:425
开发JSP自定义标签
互联网上有很多种自定义标签,今天学的这种非常简单哟1编写一个普通类在类中定义一个经常使用得到的 函数如public String toUpper(String str){......}2 在WEB-INF下编写一个tld 文件,格式如下 曾达自定义标签tz 自定一标签-函数形式 1.0 tz ...
分类:Web程序   时间:2015-02-22 23:04:06    阅读次数:193
MVC3 验证码
public ActionResult GetValidateCode() { string code = CreateValidateCode(5); Session["ValidateCode"] = code; byte[] bytes = CreateValidateGraphic(cod....
分类:Web程序   时间:2015-02-22 23:02:16    阅读次数:208
hdu3652---B-number(数位dp)
Problem Description A wqb-number, or B-number for short, is a non-negative integer whose decimal form contains the sub- string “13” and can be divided by 13. For example, 130 and 2613 are wqb-numbers,...
分类:其他好文   时间:2015-02-22 15:49:05    阅读次数:166
Leetcode: Multiply Strings
Problem: Given two numbers represented as strings, return multiplication of the numbers as a string. Note: The numbers can be arbitrarily large and are non-negative. Solution: multiply...
分类:其他好文   时间:2015-02-22 14:38:15    阅读次数:101
大小写转换
import java.util.*; import java.io.*; public class 大小写转换 { /** * @param args */ public static void main(String[] args) { Scanner in=new Scanner(new BufferedInputStream(System.in)); while(i...
分类:其他好文   时间:2015-02-22 14:37:01    阅读次数:123
android-Json-<十三>
1.Json 2.Json例子 将Json(一个字符串)直接解析出来 public class JsonUtils { public void jsonReader(String str) { // str形如:String JsonStr="[{\"name\":\"hq\...
分类:移动开发   时间:2015-02-22 12:14:42    阅读次数:170
Scala基础篇-数组和映射
####定长数组 ``` val n = new Array[Int](10) val s = new Array[String](10) val a = new Array("hello", "world") ``` ####变长数组 ``` import scala.collection.mutable.ArrayBuffer val b = new ArrayBuffe...
分类:编程语言   时间:2015-02-22 06:49:53    阅读次数:224
数据库中的JDBC
publicclassJDBCDemo{publicstaticvoidmain(String[]args){Stringurl="jdbc:oracle:thin:@localhost:1521:orcl";//连接ORL目标地址Stringdriver="oracle.jdbc.driver.OracleDriver";//驱动类名StringuserName="scott";//用户名Stringpwd="tiger";//密码try{Class.forName(drive..
分类:数据库   时间:2015-02-22 00:38:46    阅读次数:183
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!