• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
neverlandly
博客园    首页    新随笔    联系   管理    订阅  订阅
2015年1月29日
Summary: Java Inheritance
摘要: In this tutorial we will discuss about the inheritance in Java. The most fundamental element of Java is the class. A class represents an entity and al... 阅读全文
posted @ 2015-01-29 14:27 neverlandly 阅读(412) 评论(0) 推荐(0)
Summary: difference between public, default, protected, and private key words
摘要: According to Java Tutorial:Controlling Access to Members of a ClassAccess level modifiers determine whether other classes can use a particular field o... 阅读全文
posted @ 2015-01-29 14:20 neverlandly 阅读(333) 评论(0) 推荐(0)
Summary: Arrays vs. Collections && The differences between Collection Interface and Collections Class
摘要: 转自http://www.anylogic.com/anylogic/help/index.jsp?topic=/com.xj.anylogic.help/html/code/Arrays_Collections.htmlJava offers two types of constructs whe... 阅读全文
posted @ 2015-01-29 09:00 neverlandly 阅读(302) 评论(0) 推荐(0)
Leetcode: Largest Number
摘要: 聪明方法:其实干嘛要挨个比呢,按最直接的方法,接起来,谁大谁在前: 可以换一下思路,要想比较两个数在最终结果中的先后位置,何不直接比较一下不同组合的结果大小? 举个例子:要比较3和34的先后位置,可以比较334和343的大小,而343比334大,所以34应当在前。 这样,有了比较两个数的方法,就可以 阅读全文
posted @ 2015-01-29 07:31 neverlandly 阅读(480) 评论(0) 推荐(1)
Leetcode: Dungeon Game
摘要: The demons had captured the princess (P) and imprisoned her in the bottom-right corner of a dungeon. The dungeon consists of M x N rooms laid out in a... 阅读全文
posted @ 2015-01-29 00:07 neverlandly 阅读(717) 评论(0) 推荐(0)
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3