Startertutorials Blog
Tutorials and articles related to programming, computer science, technology and others.
Subscribe to Startertutorials.com's YouTube channel for different tutorial and lecture videos.

Standard Template Library

Categories: C++ Programming. No Comments on Standard Template Library

This article provides a comprehensive overview of Standard Template Library (STL) in C++ programming language along with example programs.   Introduction The Standard Template Library (STL) is a collection of components to implement data structures and frequently used operations on data. Three major components in STL are: Containers Algorithms Iterators   Containers   Container is […]

Read the rest of this entry »

Generic Programming in C++ Programming

Categories: C++ Programming. No Comments on Generic Programming in C++ Programming

This article provides a comprehensive overview of generic programming in C++ programming language along with example programs.   Introduction To generate short, simple code and to avoid duplication of code, C++ provides templates to define the same piece of code for multiple data types. With templates, programmers can define a family of functions or classes […]

Read the rest of this entry »

Java program to reverse the array inplace

Categories: Arrays. 2 Comments on Java program to reverse the array inplace

In this article we will learn to implement a Java program to reverse the array. A Java program is provided below which reverses an array in-place (without using extra memory).   Following program reads an array of elements and reverses the array in place i.e., without using any temporary array: import java.util.Scanner; public class Driver […]

Read the rest of this entry »

Java program to find the maximum and minimum value of an array

Categories: Arrays. No Comments on Java program to find the maximum and minimum value of an array

In this article we will learn to implement a Java program to find the maximum and minimum value of an array. A java program is provided below which reads array elements from the user and finds out the maximum, minimum elements in the array.   Program is as follows: import java.util.Scanner; public class Driver { […]

Read the rest of this entry »

Java program to check whether the number is an armstrong number or not

Categories: Basic. No Comments on Java program to check whether the number is an armstrong number or not

In this article we will learn to implement a Java program to check whether the number is an armstrong number or not.   Armstrong number is one in which the sum of the cubes of individual digits is same as the given number. For example if you take the number 153, (1^3) + (5^3) + […]

Read the rest of this entry »