Posts by Darshna Patil

Author Biographical Info: Not available

currentTimeMillis() Function In Java

By Darshna Patil

Hi coders! wondering how we can use the current time of the system in our program, i.e to print it on the screen or on a webpage. Java provides this feature through the System clas.... Read More

How to print Double Quotes In Java

By Darshna Patil

Hi coders! we all know to print a nonexecutable statement or simply a message on screen we use System.out.print statement then we put the message between these double quotes ”.... Read More

How to Print Rows and Columns with max number of ” 1’s ” in Java

By Darshna Patil

In this tutorial, we will print Rows and Columns with max number of ” 1’s ” in Java. Java Problem: First generate a random 2 D  matrix of 0’s and 1’s.... Read More

How to print star Pattern in the shape of Bar Graph in Java

By Darshna Patil

Hi coders! Today we are going to learn how to print star pattern (*) in the shape of a bar graph in Java. Pattern printing is a very interesting and HOT topic for coding interviews.... Read More

How to Find Saddle Point of a Matrix in Java

By Darshna Patil

Today we are going to learn how to find the saddle point of a matrix in Java. As we all know a matrix is a 2-Dimensional array and in it, Saddle point is that element of the matrix.... Read More

How to find HCF (highest common factor) of at most 3 numbers in Java

By Darshna Patil

Hi people ! today we are going to see how to find the highest common factor (HCF) also known as the greatest common divisor (GCD) for 2 or 3 numbers. As we all know the highest com.... Read More

Program to find if a LinkedList is a palindrome or not in Java ?

By Darshna Patil

Hi there! today we are going to learn if a LinkedList is a palindrome or not in Java. We all know that a string or number is palindrome if when reads backwards it produces the same.... Read More

Product of array elements except for the current index in Java

By Darshna Patil

Hi coders! today we are going to see an Arraylist program where we have to take an array as input and print the product of all elements except the element of current index. This qu.... Read More