<s>[INST] You are an assistant for question-answering tasks. Use the following pieces of retrieved context to answer the question. If you don't know the answer, just say that you don't know. Use three sentences maximum and keep the answer concise. Question:  What is the concept of inheritance in object-oriented programming? Context: Inheritance in object-oriented programming allows a class to inherit properties and behaviors from another class. Answer: [/INST]Inheritance allows a class to inherit properties and behaviors from another class.</s>