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

Post Views: 15 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 […]

Read the rest of this entry »

Generic Programming in C++ Programming

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

Post Views: 62 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 […]

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

Post Views: 12 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; […]

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

Post Views: 18 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 […]

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

Post Views: 11 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) […]

Read the rest of this entry »

Java program to find the reverse of a given number

Categories: Basic. No Comments on Java program to find the reverse of a given number

Post Views: 11 In this article we will learn to implement a Java program to find the reverse of a given number. A Java program is provided below which reads a number from the user and prints the reverse of that number:   Program is as follows: import java.util.Scanner; public class Driver { public static […]

Read the rest of this entry »

Java program to find the factorial of a number using recursion

Categories: Basic. No Comments on Java program to find the factorial of a number using recursion

Post Views: 9 In this article we will learn to implement a Java program to find the factorial of a number using recursion. A Java program is provided below to read a number and print the factorial of that number.   Following program reads a number form the user and prints its factorial using recursion: […]

Read the rest of this entry »