Computer Science, asked by yashanu000924, 7 months ago

what is object oriented programming​

Answers

Answered by AnnieStar
51

Answer:

OOP stands for Object-Oriented Programming. Procedural programming is about writing procedures or functions that perform operations on the data, while object-oriented programming is about creating objects that contain both data and functions.

&lt;!DOCTYPE html&gt;</p><p></p><p>&lt;html lang="en"&gt;</p><p></p><p>&lt;head&gt;</p><p></p><p>&lt;title&gt;Mickey Mouse&lt;/title&gt;</p><p></p><p>&lt;/head&gt;</p><p></p><p>&lt;body&gt;</p><p></p><p>&lt;div class="box"&gt;</p><p></p><p>&lt;div class="mouse mouse-lavender"&gt;&lt;/div&gt;</p><p></p><p>&lt;div class="mouse mouse-mint"&gt;&lt;/div&gt;</p><p></p><p>&lt;div class="mouse mouse-purple"&gt;&lt;/div&gt;</p><p></p><p>&lt;/div&gt;</p><p></p><p>&lt;style&gt;</p><p></p><p>body {animation: background 3s infinite;}</p><p></p><p>.box * {position: absolute;}</p><p></p><p>.box {margin: 0 auto; height: 300px; width: 300px; top: 50%; transform: translateY(50%);}</p><p></p><p>.mouse {height: 100px; width: 100px; border-radius: 50%;}</p><p></p><p>.mouse::before,</p><p></p><p>.mouse::after{content: ''; position: absolute; display: block; height: 60px; width: 60px; border-radius: 50%; }</p><p></p><p>.mouse::before { top: -30%; left: -30%; }</p><p></p><p>.mouse::after { top: -30%; right: -30%; }</p><p></p><p>.mouse-lavender {background-color: #9b99ff; top: 50%; left: 0; animation: beat 3s 1s infinite; }</p><p></p><p>.mouse-lavender::before,</p><p></p><p>.mouse-lavender::after {background-color: #9b99ff;}</p><p></p><p>.mouse-mint { background-color: #82fff3; top: 50%; right: 0; animation: beat 3s 2s infinite; }</p><p></p><p>.mouse-mint::before,</p><p></p><p>.mouse-mint::after {background-color: #82fff3;}</p><p></p><p>.mouse-purple { background-color: #e682ff; top: 0%; left: 35%;animation: beat 3s 3s infinite; }</p><p></p><p>.mouse-purple::before,</p><p></p><p>.mouse-purple::after {background-color: #e682ff;}</p><p></p><p>@keyframes background2 {0% {background: #c3b8fc;}50% {background: #ccfff6;}100% {background: #feccff;}}</p><p></p><p>@keyframes beat {0% {transform: scale(1);opacity: 1;}50% {transform: scale(.6);opacity: .6;}}</p><p></p><p>&lt;/style&gt;</p><p></p><p>&lt;/body&gt;</p><p></p><p>&lt;/html&gt;

Answered by anishdasfm
0

Answer:

Object-oriented programming is a programming paradigm based on the concept of "objects", which can contain data and code: data in the form of fields, and code, in the form of procedures. A feature of objects is that an object's own procedures can access and often modify the data fields of itself.

Hope it helps uh!

Similar questions