Interpeter , Iterator , Mediator , Memento and Observer design patterns. (I) what is Interpreter pattern? (B) Can you explain iterator pattern? (A) Can you explain mediator pattern? (I) Can you explain memento pattern? (B) Can you explain observer pa…
State, Stratergy, Visitor Adapter and fly weight design pattern from interview perspective. (I) Can you explain state pattern? (I) Can you explain strategy pattern? (A) Can you explain visitor pattern? (A) What the difference between visitor and stra…
Factory, Abstract factory, prototype pattern (B) What are design patterns? (A) Can you explain factory pattern? (I) Can you explain abstract factory pattern? (I)Can you explain builder pattern? (I) Can you explain prototype pattern? (A) Can you expla…
Bridge Pattern, Composite Pattern, Decorator Pattern, Facade Pattern, COR Pattern, Proxy Pattern, template Pattern, MVC. Updated with the explanation of Composite pattern, Decorator Pattern and Template Pattern. Design Pattern Interview Question - Pa…
In this tutorial we will discuss about different types of questions that can be used in a Java interview, in order for the employer to test your skills in Java and object-oriented programming in general. In the following sections we will discuss abou…
A while back, I posted a list of ASP.NET Interview Questions. Conventional wisdom was split, with about half the folks saying I was nuts and that it was a list of trivia. The others said basically "Ya, those are good. I'd probably have to look a few…
We are sharing 25 java interview questions , these questions are frequently asked by the recruiters.Java questions can be asked from any core java topic . So we try our best to provide you the java interview questions and answers for experienced whic…
This is a summary of some of the most important questions concerning the Spring Framework, that you may be asked to answer in an interview or in an interview test procedure! There is no need to worry for your next interview test, because Java Code Ge…
Verilog Interiew Quetions Collection :  What is the difference between $display and $monitor and $write and $strobe? What is the difference between code-compiled simulator and normal simulator? What is the difference between wire and reg? What is the…
http://howtodoinjava.com/core-java/collections/popular-hashmap-and-concurrenthashmap-interview-questions/ Popular HashMap and ConcurrentHashMap Interview Questions June 14, 2013 by Lokesh Gupta In my previous post related to “How HashMap works in jav…
java设计模式大全 Design pattern samples in Java(最经典最全的资料) 2015年06月19日 13:10:58 阅读数:11100 Design pattern samples in Java. Build status: Introduction Design patterns are formalized best practices that the programmer can use to solve common problems when desi…
LeetCode Top Interview Questions https://leetcode.com/problemset/top-interview-questions/ # No. Title Acceptance Difficulty 1 1 Two Sum 38.80% Easy 2 2 Add Two Numbers 29.10% Medium 3 3 Longest Substring Without Repeating Characters 25.00% Medium 4 4…
Interview Questions All In One web fullstack System Design Operating System Object-Oriented Design OOP Design Patterns Computer Network Data Structure Algorithm Code Styles Code Review whiteboard coding demos Node.js Interview Questions and Answers f…
http://www.topwcftutorials.net/2012/09/wcf-faqs-part2.html WCF Interview Questions – Part 2 This WCF tutorial is part-2 in series of WCF Interview Questions. Other parts in this series can be found here. 这是WCF问答系列教程中的第二部分,其他部分可以在下面的链接中找到: WCF Service…
原文 Node.js Interview Questions for 2017 什么是error-first callback? 如何避免无止境的callback? 什么是Promises? 用什么工具来保证代码的一致性风格? 为什么保持一致性风格很重要? When should you npm and when yarn? 什么是stub? 举个例子! 什么是test pyramid? 举个例子! 你喜欢哪个HTTP框架,为什么? 如何保护你的HTTP cookies 不遭受XSS攻击? 如何…
回到占占推荐博客索引 设计模式(Design pattern)与其它知识不同,它没有华丽的外表,没有吸引人的工具去实现,它是一种心法,一种内功,如果你希望在软件开发领域有一种新的突破,一个质的飞越,那么,设计模式应该是你的必修之路!设计模式可以提高软件的扩展性,代码的健壮性和重复利用性,设计模式是实现软件工程四大原则( 开闭原则, 里氏代换原则,依赖倒转原则,接口隔离原则)的前提和基础! 下面是我的文章系列<说说设计模式>的目录 第一部分 创建型模式篇 说说设计模式~单件模式(Singleto…
http://www.topwcftutorials.net/2012/10/wcf-faqs-part3.html WCF Interview Questions – Part 3 This WCF tutorial is part-3 in series of WCF Interview Questions and Answers. Other parts in this series are as follows: 这是WCF问答系列教程中的第三部分,其他部分在下面: WCF Servic…
WCF Interview Questions – Part 4   This WCF service tutorial is part-4 in series of WCF Interview Questions. Before reading this please go through the following articles in this series. 这是WCF问答教程的第四部分,在阅读之前请先去看下面列出来的文章. WCF Service Interview Question…
最近,不是特别忙,重新翻了下设计模式,特地在此记录一下.会不定期更新本系列专题文章. 设计模式(Design pattern)是一套被反复使用.多数人知晓的.经过分类编目的.代码设计经验的总结. 使用设计模式是为了可重用代码.让代码更容易被他人理解.保证代码可靠性. 毫无疑问,设计模式于己于他人于系统都是多赢的:设计模式使代码编制真正工程化:设计模式是软件工程的基石脉络,如同大厦的结构一样. 设计模式分为三种类型,共23种. #Ⅰ.创建型模式 1.1 单例模式(Singleton Pattern…
1. visitor design pattern http://butunclebob.com/ArticleS.UncleBob.IuseVisitor…
1. Brief 一直对Observer Pattern和Pub/Sub Pattern有所混淆,下面打算通过这两篇Blog来梳理这两种模式.若有纰漏请大家指正. 2. Use Case 首先我们来面对一个老到跌渣的故事,并以从未听说过Observer Pattern为前提. 假设要设计一个新闻订阅系统,新闻分为商业.体育和八卦3种,而查收终端有PC.移动终端等,后续还不断增加新闻种类和查收终端. 需求如上,下面我们根据OOD的方式来构建概念模型. 新闻 <- 分类新闻 终端 <- 分类终端…
Monad typeclass不是一种类型,而是一种程序设计模式(design pattern),是泛函编程中最重要的编程概念,因而很多行内人把FP又称为Monadic Programming.这其中透露的Monad重要性则不言而喻.Scalaz是通过Monad typeclass为数据运算的程序提供了一套规范的编程方式,如常见的for-comprehension.而不同类型的Monad实例则会支持不同的程序运算行为,如:Option Monad在运算中如果遇到None值则会中途退出:State…
(Note: Most are collected from Internet. 绝大部分内容来自互联网) 1. What's the difference between Hashtable and Dictionary? Hashtable and Dictionary  are collection of data structures to hold data as key-value pairs. The differences are: 1).Dictionary is generi…
为什么要提倡“Design Pattern呢?根本原因是为了代码复用,增加可维护性. 那么怎么才能实现代码复用呢?面向对象有几个原则:开闭原则(Open Closed Principle,OCP).里氏代换原则(Liskov Substitution Principle,LSP).依赖倒转原则(Dependency Inversion Principle,DIP).接口隔离原则(Interface Segregation Principle,ISP).合成/聚合复用原则(Composite/Ag…
[Design Pattern] Substitute Interface 目的 将对象的成员建立为替身接口的成员,用来解耦对象之间的循环相依. 情景 假设开发人员接手一个系统,在系统里有订单对象.送货物件,其中订单对象使用送货物件所提供的送货方法. 当系统继续设计下去,会发现送货方法需要订单对象的相关信息才能决定如何送货.例如说:送货方法需要商品数量,来决定要派卡车送货还是要派机车送货:送货方法需要商品价格来决定要用盒子包还是要用纸袋包.当送货方法的逻辑越来越复杂的时候,最终就会发现送货方法需…
101+ Manual and Automation Software Testing Interview Questions and Answers http://www.softwaretestinghelp.com/software-testing-interview-questions/…
什么是设计模式? design pattern是一个通用的,可以被重用的关于一个常见的问题的解决方案. 为什么要用设计模式? 引入设计模式的理论基础非常简单.我们每天都会碰到问题.我们可能碰到决定使用何种算法的问题,什么是最合适的design,使用什么技术,什么模块等等...同样种类的问题很有可能已经被我们的前辈所碰到,如果其他人已经碰到过我们的问题,那么他们已经有效解决了该问题是很有可能的.这样的话,我们最好直接借鉴别人已经成熟的解决方案,而不是从头来过. 然而,每一个问题都是唯一的,这样每一…
Asp.Net Design Pattern Studynotes -- Part1 let's start with an exampleto entry amazing OO world ! let's saynow we need to implement a small feature which need : an entityclass: Product businesslogic : List<Product>GetProductBy(Function<Product,bo…
Design Pattern —— Singleton   强力推荐枚举和类级内部类方式实现单例模式 单例模式是开发中非常常用的一种模式,简单的说,我们希望一个类永远都只有一个对象. 主要有两个用途: 1.存储一些进程内共享的值(不是很推荐,大部分情况下还是应该用局部变量,互相传递值的方式) 2.任何时候都不变的操作 单例模式的实现目前已知的有五种: 1.饿汉式 2.懒汉式 3.双重验证 4.类级内部类 5.枚举 一.饿汉式 类加载时就创建好对象,以空间换时间.这样外部调用EagerSingle…
Service Locator Pattern,即服务定位模式,用于定位不同的服务.考虑到 InitialContext::lookup 的成本比较高,提供了 Cache 类缓存以定位到的服务. 代码实现 Service 接口 public interface Service { public String getName(); public void execute(); } Service1, Service2 实现 Service 接口,提供具体服务 public class Servic…