Core java
25 AprilStrategy design pattern in java
In this post, we will see about Strategy design pattern in java. Strategy design pattern allows us to change algorithm implementation at runtime.Strategy design pattern provides multiple algorithms and client can choose algorithm based on their needs with the help of composition. Strategy design pattern example Let’s understand this with the help of simple example. […]
24 AprilSingleton design pattern in java
In this post, we will see about Singleton design pattern in java. Singleton design pattern is one of the simplest design pattern but singleton property can be broken using multithreading, reflection, serialization etc, so you need to be careful while you create the singleton class. Singleton design pattern restricts a class to create multiple objects […]
27 FebruaryVodič za stave pri Betibet: registracija, bonus in izplačila
To je praktičen, korak za korakom vodič: registracija, verifikacija, bonusi in plačila – brez olepšav. Priprava Preverite, da ste stari vsaj 18 let (v nekaterih državah 21). Pripravite osebni dokument (osebna izkaznica, potni list ali vozniško dovoljenje) za verifikacijo. Izberite način plačila: kartice, e-denarnice ali kriptovalute. Prepričajte se, da je vaša internetna povezava stabilna. Razumite, […]
24 FebruaryGuide pratique : Casino Dragonia – Inscription et calcul des bonus
Que vous soyez un visiteur novice ou un habitué de Dragonia bet, ce guide couvre les fonctionnalités essentielles que vous devez connaître. Nous aborderons la création de compte, les calculs de bonus, les opérations financières, la sécurité et le programme VIP. Prérequis Avant de commencer, assurez-vous de disposer des éléments suivants : Une adresse e-mail […]
10 FebruaryBet365 casino – kompletný návod od registrácie po výplatu
Či už ste prvýkrát návštevník alebo sa vraciate na Bet365 aplikacia, táto príručka pokrýva základné funkcie, ktoré potrebujete vedieť. Bet365 casino patrí medzi najobľúbenejšie online kasína a jej mobilná verzia je prispôsobená na plynulé hranie odkiaľkoľvek. Nižšie nájdete všetky dôležité kroky, od registrácie až po výber výhier, vrátane tipov na využitie Bet365 bonusu. Quick Checklist […]
22 JanuaryMatrix multiplication in java
In this post, we will see how to multiply two matrices in java. import java.util.Scanner; public class MatrixOperator { public static void main(String args[]) { int r1, c1, r2, c2, sum = 0, i, j, k; Scanner in = new Scanner(System.in); System.out.print("Enter number of rows and columns of first matrix : "); r1 = in.nextInt(); […]
22 JanuaryJava program to add two matrices
In this post, we will see how to add two matrices in java.I am giving example for 33 matrix. You can extend it to nn matrices. import java.util.Scanner; public class MatrixOperator { public static void main(String args[]) { int i, j; int mat1[][] = new int[3][3]; int mat2[][] = new int[3][3]; int res[][] = new […]
22 JanuaryJava program to subtract two matrices
In this post, we will see how to subtract two matrices in java.I am giving example for 33 matrix. You can extend it to nn matrices. import java.util.Scanner; public class MatrixOperator { public static void main(String args[]) { int i, j; int mat1[][] = new int[3][3]; int mat2[][] = new int[3][3]; int res[][] = new […]
22 JanuaryConvert celsius to fahrenheit in java
In this tutorial, we will see simple java program to convert celsius to fahrenheit in java. You can convert celsius to fahrenheit using this formula. fh = (1.8*cen) + 32; import java.util.Scanner; public class TempConvertor { public static void main(String args[]) { float cen; double fh; Scanner scanner = new Scanner(System.in); System.out.print("Enter Temperature in Centigrade […]