flash VS flex
builderflash被adobe收购的时候是flash8,已经可以AS2面向对象了。而被adobe收购后,adobe准备把flash打造成一个开发工具。就比如JBUILDER、VS、那样,所以,有了flex
Builder ,从字面上去理解就觉得像JBuilder.....
分类:
其他好文 时间:
2014-05-23 06:22:54
阅读次数:
273
适配器模式跟现实世界中的适配器一样,都是用于转化达到某种目的。如现实世界中的电源适配器,将220v电源转化成需要的电压。面向对象的适配器。假设已有一个软件系统,你向往它能和一个新的厂商的类库搭配使用,但是这个新厂商所涉及出来的接口不同于旧厂商的接口。你不想改变现有的代码,也不能改变厂商的代码,所以需...
分类:
其他好文 时间:
2014-05-23 04:32:49
阅读次数:
277
面向对象程序设计作为一种重要的程序设计思想,在近些年来得到广泛的推崇。而Java和C++更是面向对象程序设计语言中的翘楚,要彻底摸清面向对象程序设计的精髓和在实际应用中更加高效的进行代码设计,我们有必要对比一下Java和C++的在实现面向对象程序设计上的异同之处,对两种语言的细节之处做一个详尽的.....
分类:
编程语言 时间:
2014-05-23 04:10:07
阅读次数:
310
只有深刻理解审计原则,自然而然就能写出设计模式。通过refactor(重构)得到设计模式。——现在还是不是很理解1、针对接口编程,而不是针对实现编程2、优先使用对象组合,而不是类继承3、封装变化点1、针对接口编程,而不是针对实现编程客户(程序)无需知道所使用对象的特定类型,只需要知道对象拥有客户所期...
分类:
其他好文 时间:
2014-05-23 03:47:22
阅读次数:
231
当前的软件工程技术:已经老去的面向过程,正当壮年的面向对象,冉冉升起的面向服务.面向过程技术(结构化程序设计技术):DFD图,ER模型,UC矩阵.面向对象技术:继承,封装,多态,复用等.面向服务技术:业务的组合,面向服务,与IT技术的无关性.面向过程的理解:世界的一切都不是孤立的,它们相互地紧密联系...
分类:
其他好文 时间:
2014-05-23 02:48:31
阅读次数:
277
【题目】
Given a collection of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T.
Each number in C may only be used once in the combination.
Note:
All numbers (including target) will be ...
分类:
其他好文 时间:
2014-05-21 15:55:25
阅读次数:
259
这一篇文章专门整理一下研究过的Android面试题,内容会随着学习不断的增加,如果答案有错误,希望大家可以指正
1.简述Activity的生命周期
当Activity开始启动的时候,首先调用onCreate(),onStart(),onResume()方法,此时Activity对用户来说,是可见的状态
当Activity从可见状态变为被Dialog遮挡的状态的时候,会调用on...
分类:
移动开发 时间:
2014-05-21 15:43:02
阅读次数:
333
【题目】
Given a set of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T.
The same repeated number may be chosen from C unlimited number of times.
Note:
All numbers (including target) w...
分类:
其他好文 时间:
2014-05-21 15:21:28
阅读次数:
292
【题目】
The count-and-say sequence is the sequence of integers beginning as follows:
1, 11, 21, 1211, 111221, ...
1 is read off as "one 1" or 11.
11 is read off as "two 1s" or 21.
21 is read off as "one 2, then one 1" or 1211.
Given an integer n, generate...
分类:
其他好文 时间:
2014-05-21 15:20:07
阅读次数:
213
【题目】
Given two numbers represented as strings, return multiplication of the numbers as a string.
Note: The numbers can be arbitrarily large and are non-negative.
【题意】
给定用字符串表示的整数,返回两个数的乘积结果字符串。两个数字都非负,且能任意大。
【思路】
1. 考虑其中一个数是0的情况
2. 模拟乘法运算...
分类:
其他好文 时间:
2014-05-21 13:45:37
阅读次数:
214