论坛
提问
用户
提问
×
游客
登录
注册
忘记密码?
为什么没有String的原始类型?
论坛
为什么没有String的原始类型?
13 浏览
2023年7月20日
匿名的
2023年7月20日
0
Comments
为什么没有String的原始类型?
为什么Java没有为String提供原始类型,而大多数其他数据类型都有呢?
0
0
答案
活跃
已投票
最新
最老的
用户名或电子邮箱地址
密码
注册
Lost Password
Java的原始类型有哪些?
为什么Java中有包装类?
为什么Java中的原始数据类型不能为“null”?
为什么在许多编程语言中字符串是不可变的?
为什么Java没有复制构造函数?
Java:为什么需要包装类?
字符串是一种原始类型吗?
在C#中,为什么String是一个像值类型一样行为的引用类型?
为什么我们可以将一个字符串赋值给一个简单的Java对象
一个对象有多大?为什么没有sizeof?
为什么要显式使用StringBuilder,如果编译器会自动将字符串拼接转换为StringBuilder?
为什么List
是List的子类型,但不是List
的子类型?
在Java中定义一个final String有意义吗?
为什么Java中的String类没有实现Iterable接口?
在Java中,boolean和Boolean有什么区别?
为什么java.lang.Object没有实现Serializable接口?
在Java中,"(Object)null"和"null"有什么区别?
在Java源代码中,`+`运算符在字符串中是如何实现的?
在Java中,“Double”和“double”有什么区别?
为什么你的 switch 语句数据类型不能是 long,Java?