0

What is the advantages of using multiple classes?

What does it mean using multiple classes in one project?

14th Jul 2020, 11:23 AM
Umidbek
Umidbek - avatar
6 Réponses
+ 2
Ok, thanks
14th Jul 2020, 11:56 AM
Umidbek
Umidbek - avatar
+ 1
Hello Umidbek Palvanbayev You can also have look into this thread: https://www.sololearn.com/Discuss/142551/?ref=app
14th Jul 2020, 3:31 PM
Denise Roßberg
Denise Roßberg - avatar
+ 1
Thanks, Denise Roβberg for your information.
14th Jul 2020, 5:05 PM
Umidbek
Umidbek - avatar
+ 1
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"
14th Jul 2020, 11:23 PM
Karak10
Karak10 - avatar
0
In Java tutorial
14th Jul 2020, 11:26 AM
Umidbek
Umidbek - avatar
0
Thank you Karak10, understandable
15th Jul 2020, 3:57 AM
Umidbek
Umidbek - avatar