Mr. Satyabrata has Published 355 Articles

How to Check Diagonally Dominant Matrix in Java?

Mr. Satyabrata

Mr. Satyabrata

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

343 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

285 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

359 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

312 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

654 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

706 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

202 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

4K+ 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

How to Convert String to Object in Java?

Mr. Satyabrata

Mr. Satyabrata

Updated on 04-May-2023 15:40:30

6K+ Views

In Java, Object is a parent class of all the classes. So, we can directly assign a string to an object as each class is internally a child class of the Object class. A string is generally considered a data type and is often implemented as an array data structure ... Read More

How to Convert Int to Double in Java?

Mr. Satyabrata

Mr. Satyabrata

Updated on 04-May-2023 15:36:46

3K+ Views

In Java, smaller datatype can be converted to bigger datatype. Here, we will see how to convert int datatype to double datatype. The int data type is a 32-bit signed two's complement integer. Its value-range lies between - 2, 147, 483, 648 (-2^31) to 2, 147, 483, 647 (2^31 -1). ... Read More

Advertisements