• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






Bring Surprise To The World

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理

2011年12月10日

Java面向对象编程基础(二)
摘要: 上一节里我们讲到了常见的String类的用法,大家注意区分String和StringBuffer的异同。这一节我们讲解一下String类的常见方法、在编程过程中经常遇到的一些字符、数值之间的转换和数组。String类里包含了很多方法,大家可以去查询API了解一下。String类常见的有:charAt(intindex)返回在index位置的元素contains(CharSequences)返回s是否在字符串的判断结果isEmpty()返回字符串是否为空的判断结果我们举一个contains(CharSequences)的例子:publicclassLoveJava4_2{/***@paramar 阅读全文
posted @ 2011-12-10 20:27 JeanCanDoIt 阅读(162) 评论(0) 推荐(0)
 
Things you need to remember to become a successful developer
摘要: 1. Keep on learningI assume that you would not even read this blog without having some elementary education and you would not want to know how to become a successful developer without higher education. So while you are right now a developer, why stop learning?There is no way to do that. One importan 阅读全文
posted @ 2011-12-10 11:23 JeanCanDoIt 阅读(164) 评论(0) 推荐(0)