教程集 www.jiaochengji.com
教程集 >  脚本编程  >  java  >  正文 看看String类的构造方法

看看String类的构造方法

发布时间:2019-02-02   编辑:jiaochengji.com
教程集为您提供看看String类的构造方法等资源,欢迎您收藏本站,我们将为您提供最新的看看String类的构造方法资源
String
public String(byte[] bytes,
              String enc)
       throws UnsupportedEncodingException
Construct a new String by converting the specified array of bytes using the specified character encoding. The length of the new String is a function of the encoding, and hence may not be equal to the length of the byte array.
Parameters:
bytes - The bytes to be converted into characters
enc - The name of a supported character encoding
Throws:
UnsupportedEncodingException - If the named encoding is not supported
Since:
JDK1.1

您可能感兴趣的文章:
Java构造方法的理解
Java入门:理解构造器 (转)
php面向对象编程之构造方法的例子
Java中this与super的用法与对比总结
学习C#中的静态构造函数与复制构造函数
Java中类的构造器讲解
C#学习笔记之派生类的构造函数
php5构造函数与析构函数实例
看看String类的构造方法
java中string转bigdecimal的例子

[关闭]
~ ~