Computer Science, asked by Krishsutodiya3, 10 months ago

Shunts is writing on oop code for items like car,bus,truck etc these item are under class vehicle called a) methods b) itemsc)objects d) attributes

Answers

Answered by kulvardhansingh35
2

Answer:

When used in object-oriented programming, a class is a factory for creating objects. (We are talking here about the non-static part of the class.) An object is a collection of data and behaviors that represent some entity (real or abstract). A class defines the structure and behaviors of all entities of a given type. An object is one particular "instance" of that type of entity. For example, if Dog is a class, then a particular dog named Lassie would be an object of type Dog.

Answered by Anonymous
20

Answer:

&lt;html&gt;</p><p>&lt;head&gt;</p><p>&lt;style&gt;</p><p>h1{</p><p>text-transform:uppercase;</p><p>margin-top:90px;</p><p>text-align:center;</p><p>font-family:Courier new,monospace;</p><p>border:3px solid rgb(60,45,8);</p><p>border-top:none;</p><p>width:67%;</p><p>letter-spacing:-6px;</p><p>box-sizing:border-box;</p><p>padding-right:5px;</p><p>border-radius:6px;</p><p>font-size:35px;</p><p>font-weight:bold;</p><p>}</p><p>h1 span{</p><p>position:relative;</p><p>display:inline-block;</p><p>margin-right:3px;</p><p>}</p><p>@keyframes shahir{</p><p>0%</p><p>{</p><p>transform: translateY(0px) rotate(0deg);</p><p>}</p><p>40%</p><p>{</p><p>transform: translateY(0px) rotate(0deg);</p><p>}</p><p>50%</p><p>{</p><p>transform: translateY(-50px)rotate(180deg);;</p><p>}</p><p>60%</p><p>{</p><p>transform: translateY(0px)rotate(360deg);;</p><p>}</p><p>100%</p><p>{</p><p>transform: translate(0px)rotate(360deg);;</p><p>}}</p><p>h1 span</p><p>{</p><p>animation: shahir 3s alternate infinite linear;</p><p>}</p><p>h1 span:nth-child(1)</p><p>{color:pink;</p><p>animation-delay: 0s;</p><p>}</p><p>h1 span:nth-child(2)</p><p>{color:lightmaroon;</p><p>animation-delay: 0.2s;</p><p>}</p><p>h1 span:nth-child(3)</p><p>{color:red;</p><p>animation-delay:0s;</p><p>}</p><p>h1 span:nth-child(4)</p><p>{color:lightgreen;</p><p>animation-delay: 0.4s;</p><p>}</p><p>h1 span:nth-child(5)</p><p>{color:blue;</p><p>animation-delay: 0.5s;</p><p>}</p><p>h1 span:nth-child(6)</p><p>{color:purple;</p><p>animation-delay: 0.3s;</p><p>}</p><p>&lt;/style&gt;</p><p>&lt;meta name="viewport" content="width=device-width" &gt;</p><p>&lt;/head&gt;</p><p>&lt;body&gt;</p><p>&lt;center&gt;</p><p>&lt;div&gt;</p><p>&lt;h1&gt;</p><p>&lt;span&gt;Q&lt;/span&gt;</p><p>&lt;span&gt;U&lt;/span&gt;</p><p>&lt;span&gt;e&lt;/span&gt;</p><p>&lt;span&gt;E&lt;/span&gt;</p><p>&lt;span&gt;n&lt;/span&gt;</p><p>&lt;span&gt; h&lt;/span&gt;</p><p>&lt;span&gt;e&lt;/span&gt;</p><p>&lt;span&gt;r&lt;/span&gt;</p><p>&lt;span&gt;e&lt;/span&gt;</p><p>&lt;span&gt;eAnswer: items[tex]&lt;html&gt;</p><p>&lt;head&gt;</p><p>&lt;style&gt;</p><p>h1{</p><p>text-transform:uppercase;</p><p>margin-top:90px;</p><p>text-align:center;</p><p>font-family:Courier new,monospace;</p><p>border:3px solid rgb(60,45,8);</p><p>border-top:none;</p><p>width:67%;</p><p>letter-spacing:-6px;</p><p>box-sizing:border-box;</p><p>padding-right:5px;</p><p>border-radius:6px;</p><p>font-size:35px;</p><p>font-weight:bold;</p><p>}</p><p>h1 span{</p><p>position:relative;</p><p>display:inline-block;</p><p>margin-right:3px;</p><p>}</p><p>@keyframes shahir{</p><p>0%</p><p>{</p><p>transform: translateY(0px) rotate(0deg);</p><p>}</p><p>40%</p><p>{</p><p>transform: translateY(0px) rotate(0deg);</p><p>}</p><p>50%</p><p>{</p><p>transform: translateY(-50px)rotate(180deg);;</p><p>}</p><p>60%</p><p>{</p><p>transform: translateY(0px)rotate(360deg);;</p><p>}</p><p>100%</p><p>{</p><p>transform: translate(0px)rotate(360deg);;</p><p>}}</p><p>h1 span</p><p>{</p><p>animation: shahir 3s alternate infinite linear;</p><p>}</p><p>h1 span:nth-child(1)</p><p>{color:pink;</p><p>animation-delay: 0s;</p><p>}</p><p>h1 span:nth-child(2)</p><p>{color:lightmaroon;</p><p>animation-delay: 0.2s;</p><p>}</p><p>h1 span:nth-child(3)</p><p>{color:red;</p><p>animation-delay:0s;</p><p>}</p><p>h1 span:nth-child(4)</p><p>{color:lightgreen;</p><p>animation-delay: 0.4s;</p><p>}</p><p>h1 span:nth-child(5)</p><p>{color:blue;</p><p>animation-delay: 0.5s;</p><p>}</p><p>h1 span:nth-child(6)</p><p>{color:purple;</p><p>animation-delay: 0.3s;</p><p>}</p><p>&lt;/style&gt;</p><p>&lt;meta name="viewport" content="width=device-width" &gt;</p><p>&lt;/head&gt;</p><p>&lt;body&gt;</p><p>&lt;center&gt;</p><p>&lt;div&gt;</p><p>&lt;h1&gt;</p><p>&lt;span&gt;L&lt;/span&gt;</p><p>&lt;span&gt;O&lt;/span&gt;</p><p>&lt;span&gt;V&lt;/span&gt;</p><p>&lt;span&gt;E&lt;/span&gt;</p><p>&lt;span&gt;Y&lt;/span&gt;</p><p>&lt;span&gt; S&lt;/span&gt;</p><p>&lt;span&gt;H&lt;/span&gt;</p><p>&lt;span&gt;E&lt;/span&gt;</p><p>&lt;span&gt;R&lt;/span&gt;</p><p>&lt;span&gt;e&lt;/span&gt;</p><p>&lt;/h1&gt;</p><p>&lt;/div&gt;</p><p>&lt;/center&gt;</p><p>&lt;/body&gt;</p><p>&lt;/html&gt;</p><p>

[tex]

<svg class= "heart" viewBox= "-2 -2 98.6 90.81">

<title>Corazon</title>

<path stroke= "firebrick" stroke-width="3" d= "M86.81,8.15a27.79,27.79,0,0,1,0,39.33L47.48,86.81,8.15,47.48A27.81,27.81,0,

Similar questions