Skip to content

PCSalt

Adds taste to your computing
  • Home
  • Android
  • Java
  • IoT
  • Apps

Rearrange positive and negative number in array with only one variable – Java

Problem statement: We have a list of positive and negative numbers in a random order. We have to rearrange the…

Continue Reading
java

Convert JSON values into comma separated values – Java

JSON is a light-weight format to store and transport data. But sometimes it is required to convert it into some…

Continue Reading
java

Check if a String is a Balanced String

A balanced String is a String with equal number of opening and closing matched brackets. In other words, an expression…

Continue Reading
java

Difference between equals operator == and equals() method

For comparison of two variable for their equality Java offers two methods. Equals operator ==, and equals() method in Object…

Continue Reading
java

Difference between concat() and concat operator ‘+’ in java

When there is a need to concatenate two or more strings in java we generally use the concatenation operator ‘+’.…

Continue Reading
java
© 2023 PCSalt
Powered by WordPress | Theme: Ibsen by UXL Themes