From: Eric Christopherson Date: 2011-10-18T06:59:52+09:00 Subject: Re: WAtir usage On Mon, Oct 17, 2011 at 6:48 AM, bhaskar m. wrote: > Hi this is Bhaskar Munnuri.I have a doubt the the watir is an pure > object oriented programming language or not > if yes how.why because it does not support multiple inheritance directly > so how the oops concept can satisfies Watir is not a language at all; it is a library written in Ruby. Ruby is generally considered a pure object-oriented language, since every value is a full-fledged object (i.e. it responds to methods, etc.) -- unless in languages like C++ or Java where you have types like int and double which are not objects. Multiple inheritance is actually pretty rare in object-oriented languages; language designers seem to generally consider multiple inheritance to cause a lot of difficulties in implementation. Many languages have a construct similar (but not identical) to a class, which allows for some of the things you might use multiple base classes for in a language like C++. For example, Java and C# have interfaces, and Objective-C has protocols. Ruby has modules, also known as mixins. Still, inheritance in general isn't emphasized in Ruby.