In programming languages, a method that has the same name as a class and is used to create and initialize objects of that class.