摘要: 在慕课上学习了一个关于java注解的课程,下面是笔记以及一些源码。 Annotation——注解 1.JDK中的注解 JDK中包括下面三种注解: @Override:标记注解(marker annotation),重写,父类写的方法,如果子类继承了父类,就要重写父类的方法。 @Deprecated: 阅读全文
posted @ 2018-03-07 20:30 于淼 阅读(224) 评论(0) 推荐(0) 编辑
摘要: Question: Divide two integers without using multiplication, division and mod operator. If it is overflow, return MAX_INT. Divide two integers without 阅读全文
posted @ 2018-03-07 12:23 于淼 阅读(114) 评论(0) 推荐(0) 编辑
摘要: Question: Given an array of integers that is already sorted in ascending order, find two numbers such that they add up to a specific target number. Th 阅读全文
posted @ 2018-03-07 10:37 于淼 阅读(132) 评论(0) 推荐(0) 编辑