Mr. Satyabrata has Published 387 Articles

How to Check if Two Given Circles Touch or Intersect in Java?

Mr. Satyabrata

Mr. Satyabrata

Updated on 04-May-2023 15:56:19

1K+ Views

A circle is a closed shape formed by tracing a point that moves in a plane such that its distance from a given point is constant. In this article we will check if two given circles touch or intersect each other. We will be given the two circles with center ... Read More

How to Check if the Matrix is Diagonal Matrix in Java?

Mr. Satyabrata

Mr. Satyabrata

Updated on 04-May-2023 15:55:59

591 Views

In Java, Array is an object. It is a non-primitive data type which stores values of similar data type. The matrix in java is nothing but a multi-dimensional array which represents multiple rows and columns. A matrix having non-zero elements only in the main diagonal (running from the upper left ... Read More

How to Check Diagonally Dominant Matrix in Java?

Mr. Satyabrata

Mr. Satyabrata

Updated on 04-May-2023 15:55:37

213 Views

In Java, Array is an object. It is a non-primitive data type which stores values of similar data type. The matrix in java is nothing but a multi-dimensional array which represents multiple rows and columns. If the absolute value of the diagonal element in a matrix is larger than or ... Read More

Form Equation of Circle from Given Radius and Centre in Java

Mr. Satyabrata

Mr. Satyabrata

Updated on 04-May-2023 15:55:16

198 Views

A circle is a closed shape formed by tracing a point that moves in a plane such that its distance from a given point is constant. In this article we will check how to form the equation of circle from given radius and centre. We will be given a circle ... Read More

How to find total area when two rectangles overlap each other in Java?

Mr. Satyabrata

Mr. Satyabrata

Updated on 04-May-2023 15:54:31

207 Views

A Rectangle is a four sided-polygon, with opposite side equal and having all the internal angles equal to 90 degrees. In this article we will check how to find total area when two rectangles overlap each other. We will be given with two rectangle having length and breadth. Also we ... Read More

Find Column Which is Having Maximum 0’s in a Binary Matrix in Java

Mr. Satyabrata

Mr. Satyabrata

Updated on 04-May-2023 15:54:09

216 Views

In Java, Array is an object. It is a non-primitive data type which stores values of similar data type. The matrix in java is nothing but a multi-dimensional array which represents multiple rows and columns. A binary matrix is a matrix of 0s and 1s, where each element can only ... Read More

Find Product of Sum of First & last Row Elements of a Matrix in Java

Mr. Satyabrata

Mr. Satyabrata

Updated on 04-May-2023 15:52:21

380 Views

Matrices are nothing but it’s more than a collection of data elements arranged in a rectangular layout that is two-dimensional. In Java, an array with two dimensions can be considered as a matrix. As per the problem statement the task is to find the product of sum of all elements ... Read More

Find Number of Odd and Even Elements in Each Row of a Matrix in Java

Mr. Satyabrata

Mr. Satyabrata

Updated on 04-May-2023 15:51:11

452 Views

In Java, Array is an object. It is a non-primitive data type which stores values of similar data type. The matrix in java is nothing but a multi-dimensional array which represents multiple rows and columns. Here we have given a matrix which contains set of elements and as per the ... Read More

How to Decrement Matrix Elements by One in Java?

Mr. Satyabrata

Mr. Satyabrata

Updated on 04-May-2023 15:48:20

87 Views

Matrices are nothing but it’s more than a collection of data elements arranged in a rectangular layout that is two-dimensional. In Java, an array with two dimensions can be considered as a matrix. As per the problem statement we have to subtract an element “1” to each matrix element. Let’s ... Read More

How to convert Wrapper Objects to Primitive Types in Java?

Mr. Satyabrata

Mr. Satyabrata

Updated on 04-May-2023 15:45:52

2K+ Views

In Java, A primitive type (i.e., int, double, float, etc.) is a basic data type that is built into the language and is not an object. Primitive types have a fixed size and can be used directly in calculations and operations. A wrapper object is nothing but an object ... Read More

Advertisements