<prompt> Fana ka mohlala o nepahetseng oa ho sebelisa lefa ka puo ea Javanan  <response>: Instruction in English: Provide a valid example of using inheritance in the Java language . Response in English: Inheritance is an OOP concept in Java, which allows the creation of a subclass derivedchild class from a superclass parentbase class. The subclass inherits all the properties and behaviors of the superclass, and can also have additional properties and behaviors of its own. Heres an example:java Defining a superclass Animal class Animal String name; int age; Constructor public AnimalString name, int age this.name name; this.age age; public void eat System.out.printlnthis.name is eating.; public void makeNoise System.out.printlnthis.name is making some noise.; Defining a subclass Dog class Dog extends Animal String breed; Constructor public DogString name, int age, String breed supername, age; calling the superclass constructor this.breed breed; public void wagTail System.out.printlnThe dog is wagging its tail.; overriding the makeNoise method Override public void makeNoise System.out.printlnThe dog is barking.; ---public class Main public static void mainString args Creating a Dog object Dog dog1 new DogScooby, 5, Great Dane; System.out.printlndog1.name is a dog1.breed , who is dog1.age years old.; dog1.eat; dog1.makeNoise; dog1.wagTail; Output:Scooby is a Great Dane, who is 5 years old.Scooby is eating.The dog is barking.The dog is wagging its tail.In this example, Animal is the superclass, and Dog is its subclass. Dog extends Animal, meaning it inherits all the properties and methods of the Animal class. In the Dog class, we have added an additional property breed and an additional method wagTail. We have also overridden the makeNoise method to give it a different implementation.When we create a Dog object in the main method, we can access and use all the properties and methods of . Response in Sesotho: Lefa ke mohopolo oa OOP ho Java, o lumellang ho theoa ha sehlopha se senyenyane sehlahisoa se nkiloeng sa bana ho tsoa sehlopheng se seholo sehlopha sa motsoali setsi. Sehlopha se senyenyane se rua thepa eohle le boitsoaro ba sehlopha se phahameng, hape se ka ba le thepa e eketsehileng le boitšoaro ba sona. Mohlala ke ona: java Ho hlalosa sehlopha se seholo sa Phoofolo Phoofolo Lebitso la khoele; lilemo tsa pele; Moetsi oa Phoofolo ea SechabaLebitso la khoele, lilemo tsa int this.name lebitso; sena.lilemo lilemo; public void eat System.out.printlnthis.name is eating.; public void makeNoise System.out.printlnthis.name e etsa lerata.; Ho hlalosa mofuta oa lintja oa sehlopha sa Ntja o atolosetsa phoofolo Mofuta oa likhoele; Ntja ea sechaba ea sehahi lebitso la likhoele, lilemo tsa int, mofuta oa likhoele superlebitso, lilemo; ho bitsa sehahi sa maemo a holimo sena.breed breed; public void wagTail System.out.printlnNtja e tsoka mohatla.; ho feta mokhoa oa makeNoise Override public void makeNoise System.out.printlnNtja ea bohola.; --- --- public class Main public static void mainString args Ho theha ntho ea Ntja Ntja ea ntja1 Ntja e ncha Scooby, 5, Great Dane; System.out.printlndog1.name is a dog1.breed , ntja1.age lilemo.; ntja1.eat; ntja1.makeNoise; ntja1.wagTail; Sephetho: Scooby ke Great Dane, ea lilemo li 5. Scooby oa ja. Ntja ea bohola. Ntja e tsoka mohatla. Mohlaleng ona, Phoofolo ke sehlopha sa maemo a holimo, me Ntja ke sehlopha sa eona se ka tlase. Ntja e atolosa Phoofolo, ho bolelang hore e rua thepa le mekhoa eohle ea sehlopha sa Phoofolo. Sehlopheng sa Ntja, re kentse thepa e ngoe breed le mokhoa oa tlatsetso wagTail. Hape re tlositse mokhoa oa makeNoise ho o fa tsebetsong e fapaneng. Ha re theha ntho ea Ntja ka mokhoa o ka sehloohong, re ka fihlella le ho sebelisa thepa eohle le mekhoa ea 