Java 8 – new features and enhancements with examples

Java 8 – new features and enhancements with examples

Java 8 introduced lot of exiting new features and enhancements which are useful for developers . This article covers these features ( functional interfaces, lambda expression, method reference, Stream API, default and static methods in interface and more ) with short and simple examples.

Java – Program to find the first non repeated character in a string

Java – Program to find the first non repeated character in a string

Examples : Input – codeforeach , Output – d ; Input – principles , Output – r. Pseudo Algorithm : 1) Build a map consisting of each character of string with repetition count. i) Loop through the string characters ii) For each character,if the character key is found in the map…
increment the value by 1

Encoding vs Encryption vs Hashing

Encoding vs Encryption vs Hashing

We often see or hear the words such as encoding / encryption / hashing. These are related to techniques meant for data transformation from one format to another and used to enable data privacy or proper consumption of data by electronic devices such as computers. Lets have a quick look at the differences between these techniques…

www.000webhost.com