JavaScript program to calculate age from date of birth of a person. We will learn two different ways to calculate the age from birth date.
ReadJava stream mapToInt is used to get one integer stream from a different stream by applying a functing to all members of a stream. This post will show you how to use mapToInt with example.
ReadfindAny and findFirst methods are defined in Java Stream API. This post will show you the difference between these methods with example.
ReadLearn how to copy a string in Java in three different ways. We will learn how to copy a string using direct assignment, using StringBuffer and using String.copyValueOf.
ReadDart string contains method is used to check if a pattern is in a string or not. In this post, we will learn how to use contains() with examples.
ReadLearn how to reverse a list in dart. We will learn how to reverse a list in normal way and inplace reversion.
ReadC++ program to find the time difference between two user given time periods using structures. The structures will hold the hour, minute and second values of both time periods.
ReadC++ program to use std::replace() with example. replace is defined in algorithm header of C++. It can be used to replace one value with a new value in a given range.
ReadC++ program to move numbers from one array to another using std::move(). This program will show you how to use std::move() with example.
ReadC++ program to use binary search using binary_search function defined in STL or standard template library. This program will show how to use STL binary search to search an element in an array.
Read