Page not found
Search results
Linear search in Java
Java program for linear search: Linear search is straightforward; to check if an ... ) ; System . out . println ( "Enter number of elements" ) ; n = in. nextInt ( ) ; ...
devyog - 05/12/2019 - 08:57
Bubble sort in Java
Bubble sort in Java to sort numbers of an array in ascending/descending order. Bubble sort program in Java import java.util.Scanner ; class ... System . out . println ( "Input number of integers to sort" ) ; n = in. nextInt ( ) ...
devyog - 05/12/2019 - 20:40
Java program to find all substrings of a string
Java program to find substrings of a string: This program finds all substrings of a ... []).push({}); Find substrings of a string in Java import java.util.Scanner ; class ...
devyog - 05/12/2019 - 18:31
Java hello world program
"Hello world" program in Java to display "Hello world" on the screen. How to write hello world rogram in Java? class HelloWorld { public static void ...
devyog - 04/12/2019 - 08:42
Floyd's triangle in Java
Java program to display Floyd's triangle, in the triangle, there are n integers in ... System . out . println ( "Enter the number of rows of Floyd's triangle to display" ) ; n = in. ...
devyog - 05/12/2019 - 00:40
Multiplication table in Java
Java program to print multiplication table of a number entered by a user using a for loop. You can modify it for ...
devyog - 30/11/2019 - 20:57
Garbage collection in Java
Java program to perform garbage collection: Free memory in Java virtual machine is printed, and then garbage collection is done using the ...
devyog - 05/12/2019 - 18:51
Static block in Java
Java programming language offers a block known as static that runs before the ... its functioning. Later, we see its practical use. Java static block program class StaticBlock { public static void ...
devyog - 04/12/2019 - 19:56
Matrix multiplication in Java
Java program to multiply two matrices, before multiplication, we check whether they ... isn't efficient for sparse matrices, which contains a large number of elements as zero. (adsbygoogle = ...
devyog - 05/12/2019 - 20:30
Matrix addition in Java
Java program to add two matrices of any order. You can modify it to add any number of matrices. (adsbygoogle = ...
devyog - 05/12/2019 - 20:07