What is the advantages of using multiple classes?
What does it mean using multiple classes in one project?
Hello Umidbek Palvanbayev You can also have look into this thread: https://www.sololearn.com/Discuss/142551/?ref=app
Thanks, Denise Roβberg for your information.
Lets say you use a class called example1 for two paragraphs, but you want to make the second paragraph red, without changing the color of the first one, you also want it to keep all the effects example1 class gives it, you can either create a whole new class and write all the styling rules the other class had, or create a class that only changes the color to red, name it red and put it to the second paragraph like this: class="example1 red"
In Java tutorial
Thank you Karak10, understandable