Skip to content

TekTutorial

Lets learn in simple language…

  • Home
  • java
  • spring
  • Design Patterns
  • Contact

Tag: constructors

Static Factory vs Constructors

October 2, 2018

Generally any class allows clients to create objects by providing a public constructor. There is another technique which every programmer should be aware of. An Static Factory. A class can provide one static factory, method  which is simply an static method which returns object of the class. Note that a static factory method is not … More Static Factory vs Constructors

Static Factory vs Constructors

Archives

  • January 2019
  • December 2018
  • October 2018
  • September 2018
  • July 2018
  • June 2018

Categories

  • Database (1)
  • Design Patterns (17)
  • java (19)
  • javascript (1)
  • React (1)
  • spring (5)

Enter your email address to follow this blog and receive notifications of new posts by email.

Join 6 other followers

Follow Us

  • Facebook
Blog at WordPress.com.
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy