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.

Java program to print only unique characters in a string

Categories: Strings. No Comments on Java program to print only unique characters in a string

In this article we will learn to implement a Java program to print only unique characters in a string. A Java program is provided below which reads a string from the user, and prints out only the unique characters in the string in insertion order.   First we find out the frequency of each character […]

Read the rest of this entry »

Java program to print the frequency of characters in a string

Categories: Strings. No Comments on Java program to print the frequency of characters in a string

In this article we will learn to implement a Java program to print the frequency of characters in a string. A Java program is provided below reads the string and gives the frequency of each character (number of times a character is repeated).   This java program reads a string from the user, calculates frequency […]

Read the rest of this entry »

Java program to remove duplicate characters from a string

Categories: Strings. 2 Comments on Java program to remove duplicate characters from a string

In this article we will learn to implement a Java program to remove duplicate characters from a string. A java program is provided below that accepts a string from the user, ignores any duplicate characters and prints each character only once in ascending order.   We use TreeSet class from collections framework for printing the characters […]

Read the rest of this entry »

Python Programming Tutorial

Categories: Python Programming. 13 Comments on Python Programming Tutorial

Welcome to Python Programming Tutorial series created by Startertutorials. This is a comprehensive programming tutorial which covers almost all the core concepts in Python programming language. I hope you will enjoy the tutorial. You can give feedback by commenting below. Python is a multi-paradigm language gaining widespread popularity now-a-days due to its simplicity and expressiveness. […]

Read the rest of this entry »

Standard Libraries in Python Programming

Categories: Python Programming. 2 Comments on Standard Libraries in Python Programming

This article provides a comprehensive overview of standard libraries in Python programming language along with example programs.   Introduction to Standard Library A library is a set of files which contains pre-defined code that we can use in our own programs. For example in our Python programs we are using print() and input() for printing […]

Read the rest of this entry »

Exception Handling in Python

Categories: Python Programming. No Comments on Exception Handling in Python

This article provides a comprehensive overview of exception handling in Python programming language along with example programs.   Introduction An error is an abnormal condition that results in unexpected behavior of a program. Common kinds of errors are syntax errors and logical errors. Syntax errors arise due to poor understanding of the language. Logical errors […]

Read the rest of this entry »

Inheritance and Polymorphism in Python

Categories: Python Programming. No Comments on Inheritance and Polymorphism in Python

In this article we will learn about inheritance and polymorphism in Python programming language. Both inheritance and polymorphism are defined and examples are provided.   Inheritance Creating a new class from existing class is known as inheritance. The class from which features are inherited is known as base class and the class into which features […]

Read the rest of this entry »

Object Oriented Programming in Python Programming

Categories: Python Programming. No Comments on Object Oriented Programming in Python Programming

This article provides a comprehensive overview of object oriented programming in Python programming language along with example programs.   Introduction to Classes and Objects Classes and objects are the two basic concepts in object oriented programming. An object is an instance of a class. A class creates a new type and provides a blueprint or […]

Read the rest of this entry »