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 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. 14 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 »

Packages in Python Programming

Categories: Python Programming. No Comments on Packages in Python Programming

This article provides a comprehensive overview of packages in Python programming language along with example programs.   Introduction A package is a directory structure which can contain modules and sub packages. Every package in Python is a directory which must contain a special file called __init.py__. The file __init.py__ can be empty. To allow only […]

Read the rest of this entry »

Modules in Python Programming

Categories: Python Programming. No Comments on Modules in Python Programming

This article provides a comprehensive overview of modules along with examples in Python programming language.   Introduction A function allows to reuse a piece of code. A module on the other hand contains multiple functions, variables, and other elements which can be reused. A module is a Python file with .py extension. Each .py file […]

Read the rest of this entry »

Functions in Python Programming

Categories: Python Programming. No Comments on Functions in Python Programming

In this article we will learn about functions in Python programming language. This article provides you a comprehensive overview of functions in Python language.   Introduction to Functions   A function is a block of organized and reusable program code that performs a specific, single, and well-defined task. A function provides an interface for communication […]

Read the rest of this entry »