<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Java on bynoor.io</title>
    <link>https://www.bynoor.io/categories/java/</link>
    <description>Recent content in Java on bynoor.io</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <lastBuildDate>Thu, 27 May 2021 00:27:28 +0300</lastBuildDate><atom:link href="https://www.bynoor.io/categories/java/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Java Best Practices 01 | Static Factory Methods Over Constructors</title>
      <link>https://www.bynoor.io/posts/java-bp/static-factory-methods-over-constructors/</link>
      <pubDate>Thu, 27 May 2021 00:27:28 +0300</pubDate>
      
      <guid>https://www.bynoor.io/posts/java-bp/static-factory-methods-over-constructors/</guid>
      <description>Static Factory Methods Consider using Static Factory Methods Instead of Constructors
The static factory method is a method that returns an instance of the class.
Example In this example, we will build some HTML elements using Java. Here is the base class.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 class HtmlElement { private final String tag; private final String content; public HtmlElement(String tag, String content) { this.</description>
    </item>
    
    <item>
      <title>Solid Design Principles with Java – #01 Single Responsibility Principle (SRP)</title>
      <link>https://www.bynoor.io/posts/solid/java/single-responsibility-principle/</link>
      <pubDate>Sat, 30 Mar 2019 00:00:00 +0000</pubDate>
      
      <guid>https://www.bynoor.io/posts/solid/java/single-responsibility-principle/</guid>
      <description>Solid Design Principles with Java Series Welcome to this new series of solid design principles with Java programming language.
In this series we will focus on the most important design principles, introduce them with minimal efforts on both us and the reader, this series should be followed by a more advanced one on design patterns with Java later on – stay tuned!
Single Responsibility Principle (SRP) On this first lesson, we will discuss the Separation of Concerns (SoC) aka Single Responsibility Principle (SRP).</description>
    </item>
    
  </channel>
</rss>
