Page not found
Search results
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 ( ) ...
Yogesh Suneja - 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 ...
Yogesh Suneja - 05/12/2019 - 18:31
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. ...
Yogesh Suneja - 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 ...
Yogesh Suneja - 30/11/2019 - 20:57
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 ...
Yogesh Suneja - 04/12/2019 - 08:42
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 ...
Yogesh Suneja - 05/12/2019 - 18:51
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 = ...
Yogesh Suneja - 05/12/2019 - 20:30
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 ...
Yogesh Suneja - 04/12/2019 - 19:56
Matrix addition in Java
Java program to add two matrices of any order. You can modify it to add any number of matrices. (adsbygoogle = ...
Yogesh Suneja - 05/12/2019 - 20:07
log function in C
... log function returns natural logarithm (base = e) of a number, where e is the exponential number. Declaration: double log(double); C program to find logarithm of a number #include <stdio.h> ...
Yogesh Suneja - 27/11/2019 - 18:40