Search
 
SCRIPT & CODE EXAMPLE
 

JAVA

java solid principles

S.O.L.I.D. principle

The Single-responsibility principle: "There should never be more than one reason for a class to change."[5] In other words, every class should have only one responsibility.[6]

The Open–closed principle: "software entities ... should be open for extension, but closed for modification."[7]

The Liskov substitution principle: objects in a program should be replaceable with instances of their subtypes without altering the correctness of that program. See also design by contract.[8]

The Interface segregation principle: "many client-specific interfaces are better than one general-purpose interface."[9][4]

The Dependency inversion principle: "depend upon abstractions, [not] concretions."[10][4]
Comment

PREVIOUS NEXT
Code Example
Java :: java hash password 
Java :: native insert query in jpa repository 
Java :: intent in java 
Java :: android double click to exit 
Java :: how to find max in min in an array 
Java :: fragment to fragment 
Java :: java clone matrix 
Java :: parse object to int java 
Java :: find length of array java 
Java :: dropdown menu with spinner dropdown icon color change in android 
Java :: create array of particular length in java 
Java :: spring websocket allow origin 
Java :: java how to define a function 
Java :: java swing menu click event 
Java :: android sha1 key 
Java :: final in java 
Java :: java create new object 
Java :: String remove duplicate method in java 
Java :: render problem in android studio 
Java :: restart java windows 
Java :: jsonArray to list in java 
Java :: write in text file android studio 
Java :: use regex in if statement java 
Java :: greatest element in array in java 
Java :: javafx arabic letters 
Java :: spring boot dockerfile 
Java :: input file in java 
Java :: java mcq 
Java :: comment générer un nombre aléatoire en java 
Java :: mockito Unable to make protected final java.lang.Class 
ADD CONTENT
Topic
Content
Source link
Name
8+8 =