首页 > 2016年09月11日 > 全部分享
java 8-5 抽象
1、 抽象类的概述: 动物不应该定义为具体的东西,而且动物中的吃,睡等也不应该是具体的。 我们把一个不是具体的功能称为抽象的功能,而一个类中如果有抽象的功能,该类必须是抽象类。 抽象类的特点: A:抽象类和抽象方法必须用abstract关键字修饰,抽象方法不能有主体 B:抽象类中不一定有抽象方法,但 ...
分类:编程语言   时间:2016-09-11 07:53:49    收藏:0  评论:0  赞:0  阅读:260
121. Best Time to Buy and Sell Stock
121. Best Time to Buy and Sell Stock 121. Best Time to Buy and Sell Stock Say you have an array for which the ith element is the price of a given stoc ...
分类:其他   时间:2016-09-11 07:53:42    收藏:0  评论:0  赞:0  阅读:266
视图和表的区别 ?
简单的说,视图是按照你的sql语句生成的一个虚拟的东西,本身并不占数据库空间譬如有这个表create table table_a (id int,name varchar(10))然后有这么一个视图create view view_a as select id from table_a当你表里的数据 ...
分类:其他   时间:2016-09-11 07:53:09    收藏:0  评论:0  赞:0  阅读:381
java9-2形式参数
1、形式参数: 基本类型(太简单) 引用类型 类名:(匿名对象的时候其实我们已经讲过了)需要的是该类的对象 抽象类:需要的是该抽象的类子类对象 接口:需要的是该接口的实现类对象 A、 类名:(匿名对象的时候其实我们已经讲过了)需要的是该类的对象 (这个例子就是这个) B、 抽象类:需要的是该抽象的类 ...
分类:编程语言   时间:2016-09-11 07:52:49    收藏:0  评论:0  赞:0  阅读:177
145. Binary Tree Postorder Traversal QuestionEditorial Solution
Given a binary tree, return the postorder traversal of its nodes' values. For example:Given binary tree {1,#,2,3}, return [3,2,1]. Note: Recursive sol ...
分类:其他   时间:2016-09-11 07:52:21    收藏:0  评论:0  赞:0  阅读:181
《java网络编程》
第一章 基本网络概念 网络 网络的分层 IP TCP和UDP Internet 客户/服务器模型 Internet标准 第二章 流 输出流 输入流 过滤器流 阅读器和书写流 第三章 线程 运行线程 从线程返回信息 同步 死锁 线程调度 线程池和Executor ...
分类:编程语言   时间:2016-09-11 07:52:09    收藏:0  评论:0  赞:0  阅读:205
java 8-7 接口
1、 接口的特点: A:接口用关键字interface表示 interface 接口名 {} B:类实现接口用implements表示 class 类名 implements 接口名 {} C:接口不能实例化 那么,接口如何实例化呢? 按照多态的方式来实例化。 D:接口的子类 a:可以是抽象类。但是 ...
分类:编程语言   时间:2016-09-11 07:51:59    收藏:0  评论:0  赞:0  阅读:252
144. Binary Tree Preorder Traversal
Given a binary tree, return the preorder traversal of its nodes' values. For example:Given binary tree {1,#,2,3}, return [1,2,3]. Note: Recursive solu ...
分类:其他   时间:2016-09-11 06:49:19    收藏:0  评论:0  赞:0  阅读:219
71. Simplify Path QuestionEditorial Solution
Given an absolute path for a file (Unix-style), simplify it. For example,path = "/home/", => "/home"path = "/a/./b/../../c/", => "/c" path = "/a/./b/. ...
分类:其他   时间:2016-09-11 06:49:09    收藏:0  评论:0  赞:0  阅读:257
94. Binary Tree Inorder Traversal
Given a binary tree, return the inorder traversal of its nodes' values. For example:Given binary tree [1,null,2,3], 1 \ 2 / 3 return [1,3,2]. Note: Re ...
分类:其他   时间:2016-09-11 06:48:59    收藏:0  评论:0  赞:0  阅读:220
226. Invert Binary Tree
Invert a binary tree. to ...
分类:其他   时间:2016-09-11 06:48:50    收藏:0  评论:0  赞:0  阅读:282
258. Add Digits
Given a non-negative integer num, repeatedly add all its digits until the result has only one digit. For example: Given num = 38, the process is like: ...
分类:其他   时间:2016-09-11 06:48:39    收藏:0  评论:0  赞:0  阅读:333
237. Delete Node in a Linked List
Write a function to delete a node (except the tail) in a singly linked list, given only access to that node. Supposed the linked list is 1 -> 2 -> 3 - ...
分类:其他   时间:2016-09-11 06:48:29    收藏:0  评论:0  赞:0  阅读:246
150. Evaluate Reverse Polish Notation QuestionEditorial Solution
Evaluate the value of an arithmetic expression in Reverse Polish Notation. Valid operators are +, -, *, /. Each operand may be an integer or another e ...
分类:其他   时间:2016-09-11 06:48:25    收藏:0  评论:0  赞:0  阅读:266
283. Move Zeroes
Given an array nums, write a function to move all 0's to the end of it while maintaining the relative order of the non-zero elements. For example, giv ...
分类:其他   时间:2016-09-11 06:48:19    收藏:0  评论:0  赞:0  阅读:209
正则表达式工具RegexBuddy使用教程
1. 界面介绍 (1)初始界面选项介绍 (2)如何使用匹配 (3)如何使用正则替换 (4)如何使用Debug 2. 安装介绍 安装步骤比较简单,如下3图所示: (1)开始安装 (2)同意协议 (3)安装成功界面 ...
分类:其他   时间:2016-09-11 06:48:01    收藏:0  评论:0  赞:0  阅读:232
89. Merge Sorted Array
Given two sorted integer arrays nums1 and nums2, merge nums2 into nums1 as one sorted array. Note:You may assume that nums1 has enough space (size tha ...
分类:其他   时间:2016-09-11 06:47:49    收藏:0  评论:0  赞:0  阅读:199
实习期心态
大四期间快毕业了,同学们张罗旗鼓的准备就业方向,大学给人带来很多经历。有人说,大学是个微型社会,里面充满各种复杂的事情。有人说,大学是美丽而羞涩的梦,难以追求,望而却步。有人说,大学是放飞梦想的舞台,找到了展示自己能力的开端。而我说,大学仅仅只是一个起点。 2016年9月5日,我大四开学了,同学们也 ...
分类:其他   时间:2016-09-11 06:47:39    收藏:0  评论:0  赞:0  阅读:198
7. Reverse Integer
Reverse digits of an integer. Example1: x = 123, return 321Example2: x = -123, return -321 Solution1: 这道题做的太麻烦了,corner case很多,碰到负数不知道怎么给reverse。强行转成st ...
分类:其他   时间:2016-09-11 06:47:21    收藏:0  评论:0  赞:0  阅读:201
取消chrome浏览器下input和textarea的默认样式;html5默认input内容清除“×”按钮去除办法
取消chrome浏览器下input和textarea的默认样式: html5默认input内容清除“×”按钮去除办法: ...
分类:Web开发   时间:2016-09-11 06:47:09    收藏:0  评论:0  赞:0  阅读:545
1101条   上一页 1 ... 45 46 47 48 49 ... 56 下一页
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!