Mr. Satyabrata has Published 387 Articles

How to Convert String to Object in Java?

Mr. Satyabrata

Mr. Satyabrata

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

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

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

How to Convert Date to Timestamp in Java?

Mr. Satyabrata

Mr. Satyabrata

Updated on 04-May-2023 15:32:29

4K+ Views

In Java, Date can be converted Timestamp by using Timestamp class. Timestamp class is present in sql package. Date only store date value whereas timestamp stores both date and time value. The TIMESTAMP data type is used for values that contain both date and time parts. TIMESTAMP has a range ... Read More

Find product of Each Row and Column in Java

Mr. Satyabrata

Mr. Satyabrata

Updated on 04-May-2023 14:37:27

387 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

Find Product Between Lower Triangular & Upper Triangular Matrix in Java

Mr. Satyabrata

Mr. Satyabrata

Updated on 04-May-2023 14:18:56

108 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. Triangular Matrix − A square matrix is called as a triangular matrix if all ... Read More

Find Multiplication of Diagonal Elements of a Matrix in Java

Mr. Satyabrata

Mr. Satyabrata

Updated on 04-May-2023 14:00:15

506 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

Find Maximum Element in Each Row of a Matrix in Java

Mr. Satyabrata

Mr. Satyabrata

Updated on 04-May-2023 13:56:46

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

Find Largest & Smallest Element in Each Column of a Matrix in Java?

Mr. Satyabrata

Mr. Satyabrata

Updated on 04-May-2023 13:54:27

826 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

Find Largest & Smallest Element in Primary and Secondary Diagonal of a Matrix in Java

Mr. Satyabrata

Mr. Satyabrata

Updated on 04-May-2023 13:50:28

339 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

Check if a Point Exists in Circle Sector in Java

Mr. Satyabrata

Mr. Satyabrata

Updated on 04-May-2023 13:42:45

230 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

Advertisements