![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
AcmForJava
csdn_9527666
这个作者很懒,什么都没留下…
展开
-
A+B
public static void main(String[] args) public:表示的这个程序的访问权限,表示的是任何的场合可以被引用,这样java虚拟机就可以找到main()方法,从而来运行javac程序static:表明方法是静态的,不依赖类的对象的,是属于类的,在类加载的时候main()方法也随着加载到内存中去void:main()方法是不需要返回值的main:约定俗成,规转载 2017-09-09 08:48:04 · 243 阅读 · 0 评论 -
leetcode刷题第一题
Question: Given an array of integers, find if the array contains any duplicates. Your function should return true if any value appears at least twice in the array, and it should return false if ever转载 2017-10-10 23:40:03 · 178 阅读 · 0 评论