排序
Modulo or Remainder in java
Modulo or Remainder in java, Remainder: -->Modulo or Remainder Operator returns the remainder of the two numbers after division. -->If you are provided with two numbers, say ...
pattern using forLOOP–**U,T,O,N,Z,X,E,F,H,K,M,Y,W,P,Q,R.**
pattern using forLOOP--**U,T,O,N,Z,X,E,F,H,K,M,Y,W,P,Q,R.**,U,T,O,N,Z,X,E,F,H,K,M,Y,W,P,Q,R. package Afterfeb4; public class forlooppattern1 { public static void main(String[] args...
Reverse in java
Reverse in java, Definition: ->In Java, 'reverse' refers to the process of changing the order of elements in a data structure so that they appear in the opposite sequence. 1.Str...
Java For Loop,Do/While Loop,i++ and ++i in Java?
Java For Loop,Do/While Loop,i++ and ++i in Java?, What is the Difference Between i++ and ++i in Java? ++i and i++ both increment the value of i by 1 but in a different way. If ++ p...
strong,perfect number
strong,perfect number,Armstrong Java Math.pow() Method The Math.pow() is used to calculate a number raise to the power of some other number. This function accepts two parameters an...
Python Day- 35 Abstraction , Encapsulation
Python Day- 35 Abstraction , Encapsulation, Abstraction: --> Abstraction is used to hide the internal functionality of the function from the users. --> The users only interac...
neon,emirp,prime,armstrong,prime,sum,reverse -numbers
neon,emirp,prime,armstrong,prime,sum,reverse -numbers,Sum of Number package Afterfeb4; public class sumofnumber { public static void main(String[] args) { int no = 96785; int sum =...
Python Day – 34 Constructor, Inheritance, Overloading
Python Day - 34 Constructor, Inheritance, Overloading, Constructor: A constructor is a unique function that gets called automatically when an object is created of a class. --> I...
Day 34 – Constructor, Inheritance
Day 34 - Constructor, Inheritance,Constructor: In Python, a constructor is a special method that is automatically called when an object of a class is created. It is used to initial...
Python Day – 33 Exception Handling
Python Day - 33 Exception Handling, Exception Handling --> Exception is an abnormal event that happens during the execution of the program and stops the program abruptly(Immedia...
Day 33 – Exception Handling, OOPS Examples
Day 33 - Exception Handling, OOPS Examples,Exception Handling: What is Exception: Exception is an abnormal event that happens during the execution of the program and stops the prog...
Number Series
Number Series, Task: 1 . Look at this series: 58, 52, 46, 40, 34, ... What number should come next? 26 28 30 32 Ans: The series is decreasing by 6 each time: 58 - 6 = 52 52 - 6 = 4...