Abhinaw TripathiMay 26, 20162 min readTutorial on Prototype Design PatternAs the name suggests Prototype means making a clone. and Cloning is the operation of replicating an object.The cloned object the copy is...
Abhinav TripathiMay 25, 20162 min readTutorial on Singleton Design PatternThis design pattern is used when only one instance of an object is needed throughout the lifetime of an application.The singleton class...
Abhinaw TripathiMay 25, 20161 min readVery Common Problem on Matrix,if an element in an MXN matrix is 0,its entire row and column are set Solution: public void setZero(int[][] matrix) { boolean[] row= new boolean[matrix.length]; boolean[] row= new...
Abhinav TripathiMay 24, 20161 min readBuilder Design PatternAs the name suggest it self that builds complex objects from simple one step by step and the object creation process should be generic So...
AbhinavMay 24, 20161 min readAbstract Factory Design PatternAbstract Factory is a factory object that returns one of several factories.Modularization is a big issue in today's...
Abhinav TripathiMay 24, 20161 min readCreational Design PatternsThis design pattern is all about the class instantiation.These design patterns tries to create objects in a manner suitable to the...
Abhinav TripathiMay 24, 20162 min readLets talk about Software Design-PatternsWhat are Design Patterns? Design Pattern is a used and tested solution for a know problem.In simple words you can say a general reusable...
Abhinav TripathiMay 23, 20161 min readWhich Design Pattern should be used instead of using Traditional Constructor and why?Replace Constructor with Factory Method Pattern.Why lets take a case Suppose you have class like class Employee { Employee(int type) {...
AbhinawMay 18, 20162 min readAndroid Interview Questions for 2-5 yrs experiencedWell its not in order and not complete.will keep adding but for now i have few.... 1)How do you find memory leaks in android application?...