Java?? ?? ??? ??? ????. ??? ??? ????? ???? ?? ? ?????. ????? ??? ?? ?? ???? ?? ?? ?? ???(1? ???)? ?? ???? ?? ?? ??? ???(? ???? ??? 10?)? ??? ?? ????? ???. ??. ??? ??? ? ?? ??? ?? ?????. ??? ???, ??? ???? ?? ??? ????? ????? ?? ? ????. ????? ??? ?? ??? ?? ??? ?? ??? ?? ?? ??? ?? ???? ???? ? ??? ?? ???? ?? ?????.
?? ????? ?? ?? ??
? ??, ????? ??, ????? ??? ?
??? ?? ?? ?? ??
?? ??? ?? ?? ?? ??? ??? ???????.
??? ??? ??? ?? ?????. ?? ??? ???? ??? ?? ??? ?? ??? ? ????.
?: ??? ??? ??? ???? ??? ???? ??? ??? ?????.
??? ??? 95
?? 95? ???? 19? 5(5, 19)?? ???? ???
?? ??? ?? 9 + 5 = 14? ?? ????
???? ?? 5 + 1 + 9 = 15
?? ? ??? ??? ???. ??? 14? 15? ?? ????. ??? ??? ??? ??? ????.
??? ?? ? ?? ??? ??? ?????.
??? ??: 58
?? 58 = 2? 29? ???? ????
???? ? = 2 + 2 +9 = 13
??? ??? ? = 5 + 8 = 13
?? ? ??? ??? ???. ??? ? ??? ????? ????? ?? ? ????. ??? ??? ??? ??????? ? ? ????.
??? ??? ? ?? ?? ?? ??? ?????. ???? ?? ??? ?? ???? ???. ? ?? ???? ??? ??? ??? ?????. ??? ??? ? ??? ??? ??? ????.
Java?? Smith ??? ???? ??? ??????
?? ??? ?? java?? ??? ??? smith?? ??? ???? ??? ???????.
??? ?? ??? ??? ??? ?? ??????. ?? ??? ??? ?? ??? ??? ??? ?? ???????.
1. ?? ?????? ??? ?????? ??? ???.
2. ?? ?? ??? ??? ?? ??? ???.
3. ???? ??? ??? ???? ??? ???.
4. ?? ??? ???? ?? ??? ???.
5. ?? ??? ??? ??? ?? ???? ??? ?? ??? ???.
?. ? ?? ???? ??? ??? ??? ??? ?? ? ????.
?. ??? ??? ??? ??? ??? ??? ??? ???? ??? ?? ??? ??? ? ????.
??? ??? ??? ??? Java?? Smith Number ????? ???? ? ?????.
?
?? ??? ?? ?? ???? ??? ?? ??? ?? ???????.
?? #1
??:
import java.util.*; public class Smith_Num { static int F_Sum_P_Fact(int no) { int j=2, add=0; while(no>1) { if(no%j==0) { add=add+F_S_Digit(j); no=no/j; } else { do { j++; } while(!isPrime(j)); } } return add; } static int F_S_Digit(int no) { int sum=0; while(no>0) { sum=sum+no%10; no=no/10; } return sum; } static boolean isPrime(int j) { boolean b=true; int d=2; while(d<Math.sqrt(j)) { if(j%d==0) { b=false; } d++; } return b; } public static void main(String args[]) { Scanner s_c = new Scanner(System.in); System.out.print("Enter a number: "); int no=s_c.nextInt(); int x = F_S_Digit(no); int y = F_Sum_P_Fact(no); System.out.println("addition of digit = "+x); System.out.println("addition of prime factors digits is = "+y); if(x==y) System.out.print("The user enterd number is smith number."); else System. out.print("The user entered number is not smith number."); } }
??
? ??????? Smith Number ????? Java? ??? ?????. ??? ??? ?? ???? ???? ??? ??? ??????. ????? ? ????? ??? ?? ??? ??? ?? ???? ?? ??? ??? ??????. ? ? ??? ??? ???? ??? ??? ???? ??? ???? ??? ??????. ?? ?? ?? ??? ????, ?? ?? ??? ?????? ??? ?? ?? ??? ?? ??? ???? ? ??? ?????. ?? ??? ??? ??? ??? ??? ????, ?? ?? ??? ??? ??? ??? ??? ?? ??? ?????. ? ????? ?? ??? ?? ????? ???? ?????.
?? #2
??? ?? ? ?? ?? ???????.
??:
import java.util.*; public class Smith_Num_2 { static List<Integer> F_P_Fact(int no) { List<Integer> output = new ArrayList<>(); for (int j = 2; no % j == 0; no = no/j) output.add(j); for (int j = 3; j* j <= no; j=j+2) { while (no % j == 0) { output.add(j); no = no/j; } } if (no != 1) output.add(no); return output; } static int S_Digit(int no) { int s= 0; while (no > 0) { s =s+(no % 10); no = no/10; } return s; } public static void main(String args[]) { for (int no = 1; no < 5000; no++) { List<Integer> Fact = F_P_Fact(no); if (Fact.size() > 1) { int s = S_Digit(no); for (int fa : Fact) s =s-S_Digit(fa); if (s == 0) System.out.println(no); } } } }
??
?? ???? ??? ?? 5000??? ?? ??? ??? ????? ???. ? ????? ?? ??? ?? ????? ???? ?????.
??
? ??? ?? Java? Smith Number? ???? ????. ?? ???? ??? Smith Number? ?? ??? ???? Smith Number? ??? ?? ? ? ????. ? ??? ?? Java?? Smith Number? ???? ??? ??? ?????.
? ??? Java? ??? ??? ?? ?????. ??? ??? PHP ??? ????? ?? ?? ??? ?????!

? AI ??

Undress AI Tool
??? ???? ??

Undresser.AI Undress
???? ?? ??? ??? ?? AI ?? ?

AI Clothes Remover
???? ?? ???? ??? AI ?????.

Clothoff.io
AI ? ???

Video Face Swap
??? ??? AI ?? ?? ??? ???? ?? ???? ??? ?? ????!

?? ??

??? ??

???++7.3.1
???? ?? ?? ?? ???

SublimeText3 ??? ??
??? ??, ???? ?? ????.

???? 13.0.1 ???
??? PHP ?? ?? ??

???? CS6
??? ? ?? ??

SublimeText3 Mac ??
? ??? ?? ?? ?????(SublimeText3)

??? ??











HTML?? ??? ??? ????? ???? ??? ?? ???, ??? ? SEO ??? ?? ? ? ????. 1. ??? ????? ??? ?? ??? ? ??? ??? ????? ?? ????????. 2. ????? ??? ???? ?? ?? ???? ???? ???? ?? ??? ?????. 3. ? ???? ??? ?? ??? ????? ??? ? ?? ?? ?? ?? ????? ?? ??? ????. ?? ???? ??? ??????? ?? ??? ??? ??? ???? ???? ??? ??? ?? ??? ???? ???????.

"? ???? ?? ??????? ????"? ????? ???? ??? ??? ?? ????? ?? ?????. ????? ??? ?????. 1. "???? ??"????? ??? ??? ???? ????? ?? ???? ????? ?? ??? ??????. 2. ?? ??? ??? ???? ???? ??? ??? ??? ????? ??????. 3. ??? ??? ???? ?? ???? ?? PowerShell? ?? ?? ??? ?????. 4. ?? ???? ??? ??? ? ?????? ???? ??? ????? ??? ??? ???? ??? ??? ???????. ?? ??? ???? ?? ??? ???? ????? ??? ??????.

Java??? ?? ??? ????? ? ?? ?? ???? ????. ??, ?? ??? ??? ??? ?? ? ? ???, ?? ?? ?? ??? ?? ?? ?? ???? ??? ?????. Runnable? run () ????? ?? ?? ??? ??? ?? ?? ? ????? ??? ?????. ??, Callable? ?? ??? ?????? ?? ?? ? ??? ?? ? ????. ?? ????? ????? ??? ???????. ??, Runnable? ??? ?? ExecutorService? ?? ?? ? ? ??? Callable? ExecutorService?? ??? ? ??? ?? ??? ?? ? ? ????.

JavaprovidesmultiplesynchronizationToolsforthreadsAfety.1.SynchronizedBlocksensUremutualExclusionByLockingMethodSorspecificCodesections.2.reentrantLockofferAdcerAdcenctrol, ratelockandFairnessPolicies.3.ConditionVariablesStowFor

Java? ????? ????? ??? ??? ?? ???? ?? ?? ??????, ?? ? ???? ? ??? ????. ?? ???? ??? ??? ???? ??? ??? ???? ?? ??? ??? ????. ???? ???? ??? ??, ?? ??? ???? ???? ?? ??? ?? ???? ?? ?????. ???? ?? ?? ??? ?? ?? ??? ?????. ?????? ?? ??? ??? ???? ?? ??? ??? ?? ??? ???? ???? ??? ?? ??? ?????? ???? ????? ??? ?? ?? ???, ?? ? ?? ???? ??? ??? ?????. ???? urlclassl? ?? ??? ??? ??? ?? ? ? ????

Java ?? ??? ??? ?? ? ??? ???? ?? ??? ???? Try-Catch? ???? ????? ????? ???? ????. 1. IoException? ?? ?? ? ??? ???? ?? ??? ??? ?? ???????. 2. NullPointerException? ?? ???? ?? ??? ????? ???? ?? ??? ?? ???? ??? ?????. 3. ??? ?? ? ?? ??? ???? ??? ??? ?? ????? ???????. 4. CODE? ?? ??? ??? ?? ??? ???? ??? ???? ??? ???? ?? ?? ????. 5. ?? ???? ??? ??? ?? ??? ??? ?? ???? ??? ???????.

Java? ??? ?? ??, ?? ? ??? (? : Projectreactor) ? Java19? ?? ???? ??? ??? ?????? ?????. 1. CompletableFuture? ?? ??? ?? ?? ??? ? ?? ??? ????? ?? ??????? ? ?? ??? ?????. 2. Projectreactor? ?? ? ??? ??? ???? ?? ???? ? ??? ???? ?? ? ?????? ?????. 3. ?? ???? ??? ??? ??? I/O ??? ? ??? ???? ?? ??? ????? ??? ???? ????. ? ???? ?? ??? ????? ??? ??? ??? ?? ??? ??? ?????? ???? ???? ?? ?? ??? ??????.

?? ???? Java?? ???? ??? ?? ??? ??? ??? ??? ???? ???? ? ?????. 1. ?? ??? ?? ???? ????? ?? ???? ?? ??? ScholitName? ?? ?? ???? ???? ???? ???? ? ?????. 2. ?? ??? ???? ??? ??? ???? ????. ??? ?? Math.sqrt ()? ?? ?? ??? ???? ?? ?? ?? ? ??? ? ? ????. 3. ?? ?? ??? ??????? ?? ?? ??? ?? ?????? ??? ??? ???? ? ?????. 4. ?? ?? ???? ?? ???? ????? ????? ? ? ??? ?? ???? ? ?? ???? ??? ? ? ????. ??? ??? ??? ??? ??? ??? ??? ????? ?? ? ? ??????.
