Browsed by
Category: Uncategorized

Intro to stream APIs in Java

Intro to stream APIs in Java

Stream API was introduced in Java 8. It provided a declarative programming approach to iterate and perform operations over a collection. Until Java 7, for and for each were the only options available, which was an imperative programming approach. In this article I will introduce you to the Stream API and how it provides an abstraction over the common operations performed over a collection.

Read More Read More

Caesar Decryption of string using javascript

Caesar Decryption of string using javascript

Caesar decryption is basically reversing the encryption. Before you go ahead, you should look at Caesar encryption, this will help you understand the concept of encryption, using which you can decrypt the encrypted string.

In brief, Caesar decryption is downshifting of string by some amount. i.e. if unshifting amount is 3, and want to decrypt “d”, the result will be “a”.

Read More Read More