What is a pattern what is an anti pattern?



What is a pattern what is an anti pattern?..

Answer / Mani Saxena

"A design pattern is a general reusable solution to a commonly occurring problem in software design. It describes how to solve the problem and its consequences, providing a template for implementation. An Anti-Pattern, on the other hand, is a common response to a recurring problem that leads to negative results or poor design quality. It represents an undesirable pattern of behavior or solution that should be avoided."n

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

Can java program run without jre?

1 Answers  


Why we use static and synchronized in method for single thread model example: public static synchronized add(){}

2 Answers  


What is the difference between array list and vector in java?

1 Answers  


What are heterogeneous objects?

1 Answers  


State the merge-sort principle and its time complexity.

1 Answers   Akamai Technologies,


why did you choose your career in IT?

1 Answers   LIC,


what is mean by String and StringBuffer? What is mean by Methooverriding and Overloading?

3 Answers   Satyam, STI,


What does this mean java?

1 Answers  


how a programmer confirms that the data submitted has been succesfully inserted into the database(either oracle or my sql).. How a programmer confirm if there is any problem with the program he wrote for insertion... ANS:--- >executeupdate method is having boolean return type, if anything goes wrong in data insertion or data updation, it would return false. otherwise, if it successfully inserts data into the database, it would return true NOW HOW TO I CHECK IN MY DURING EXECUTION WHETHER IT RETURNS TRUE OR FALSE... WELL IT WILL DISPLAY ANY MESSAGE OR NOT

1 Answers   Google,


What is increment in java?

1 Answers  


Can we override singleton class?

1 Answers  


What is the meaning of find and replace?

1 Answers  


Categories