Complex sentence: An example of an object-based language is Visual Basic, which supports both objects and classes, but no inheritance, so it does not qualify as object-oriented.
Split into simpler sentences: An example of a language that is object-based but not object-oriented is Visual Basic (VB). VB supports both objects and classes, but not inheritance, so it does not qualify as object-oriented.