Mr. Satyabrata has Published 387 Articles

Find Angle at Centre from Angle at Circumference by an Arc in Java?

Mr. Satyabrata

Mr. Satyabrata

Updated on 05-Jan-2023 12:10:40

126 Views

A circle is a round shape two-dimensional diagram which has no corners. Every circle has an origin point and every point on the circle maintains equal distance from the origin. The distance between the origin and a point in a circle is known as Radius of the circle. And similarly, ... Read More

Capitalize last letter and Lowercase first letter of a word in Java

Mr. Satyabrata

Mr. Satyabrata

Updated on 05-Jan-2023 11:56:58

4K+ Views

String is a sequence of character values. In Java, Strings are considered as objects. We have a String class provided by Java for creating and manipulating strings. We have to convert the first letter of the word to lowercase and last letter of the word to uppercase. In this article ... Read More

Find if sum of odd or even array elements are smaller in Java

Mr. Satyabrata

Mr. Satyabrata

Updated on 05-Jan-2023 11:51:05

988 Views

In Java, Array is an object. It is a non-primitive data type which stores values of similar data type. As per the problem statement we have to find the sum of elements which is even and sum of elements which is odd in an array and compare their sum and ... Read More

Check Average of Odd Elements or Even Elements are Greater in Java

Mr. Satyabrata

Mr. Satyabrata

Updated on 05-Jan-2023 11:45:21

358 Views

In Java, Array is an object. It is a non-primitive data type which stores values of similar data type. As per the problem statement we have to find the sum of all even and odd numbers in a given array and compare them to see which one is greater. Note ... Read More

Check if Array is Free From 0 and Negative Number in Java

Mr. Satyabrata

Mr. Satyabrata

Updated on 05-Jan-2023 11:39:58

2K+ Views

In Java, Array is an object. It is a non-primitive data type which stores values of similar data type. As per the problem statement we have to check and confirm the array is free from 0 and negative numbers. Let us say that an array contains 0 or a negative ... Read More

Arrange Negative Array Elements Before Positive Elements in Java

Mr. Satyabrata

Mr. Satyabrata

Updated on 05-Jan-2023 11:33:51

679 Views

In Java, Array is an object. It is a non-primitive data type which stores values of similar data type. As per the problem statement we have to arrange all elements of array such that negative elements are present before positive elements. If a number is greater than 0 then ... Read More

JAVA Program to Replace Element of Integer Array with Product of Other Elements

Mr. Satyabrata

Mr. Satyabrata

Updated on 30-Dec-2022 14:00:34

4K+ Views

Array of Integers refers to an array where all the elements are of Integer type. It is alsocalled an Integer array. As per the problem statement we have to create an Integer array and display the array elements where all the array elements are the product of other elements of ... Read More

JAVA Program to Calculate Radius of Circle with Given Width and Height of Arc

Mr. Satyabrata

Mr. Satyabrata

Updated on 27-Dec-2022 15:22:47

1K+ Views

A circle is a round shape two-dimensional diagram which has no corners. Every circle has an origin point and every point on the circle maintains equal distance from the origin. The distance between the origin and a point in a circle is known as Radius of the circle. And similarly, ... Read More

Java Menu Driven Program to Perform Basic String Operations

Mr. Satyabrata

Mr. Satyabrata

Updated on 27-Dec-2022 15:05:23

3K+ Views

String refers to a sequence of characters. In Java Strings are objects. To create and manipulate strings Java provides the String class. String class has many inbuilt methods which are used for different purposes. We will perform a few basic string operations by using inbuilt String methods. replace() Method: It ... Read More

Java Menu Driven Program to Perform Matrix Operation

Mr. Satyabrata

Mr. Satyabrata

Updated on 27-Dec-2022 14:58:11

2K+ Views

Array in Java is called as a non primitive data type which stores a fixed number of single type values. It is called a one-dimensional array. Whereas matrix refers to a rectangular array or Two-Dimensional array. In this article, we will see how to perform different matrix operations like addition, ... Read More

Advertisements