Guvi-blog-logo

Mother Of OOPS-“Idly Kadai Aaya”

Excited to know what’s the tale behind the title? I believe at the end of this blog justification to the title would be done:-) Today our story revolves around OOPS. I had OOPS in my fifth semester. It was the time when my interest in programming was in the budding stage.

So, I and one of my friends had decided to join a computer center to learn C++. At that time we dint have easy online access like now. Also, I wasn’t with a computer at that time. So the computer center was the only option to look over for another computer. The center’s name was Radian I guess. I don’t know whether it is even still functional. I got a wonderful teacher in that center. Her name was Sowmya. She was the one who first taught me about classes and objects. The example she had given was like, consider the blueprint of the house as a class and the object as the house itself. With the same blueprint, we can build ‘n’ number of houses.

See how powerful it is, I still remember that example. But when I happened to do a video about classes and objects for GUVI, I was in the break to take care of my kid. So I had got most connected to the kitchen rather than anything else.

So whatever video I had done at that time, carries the aroma of my kitchen 🙂 Now we’ll come to our title reason, I see our idly Aaya is the founder of classes and objects. See, idly plate in the class. It defines the structure of our idly and the idlies are our objects.

So like our film directors I made justice to the title by referring idly Aaya in this line 🙂

idly kadai

Now coming to the technical part, class is a user-defined data type. Here comes the question what is the data type and what is data structure? To make people believe that I am still connected to the kitchen I will give examples from my kitchen itself. For example, we can consider tumblers, plates, containers, etc… everything is a datatype. Each serves a different purpose. The small tumbler can be considered as integer, bigger tumbler as float, Jug as double. They all belong to the same category and the differentiating factor is the quantity they can hold. But plate and tumbler we can compare as integer and string. The plate is for eating something and the tumbler is for drinking. They serve a different purpose. Now here comes the Hero intro for our story. Picture the vessel stand in your home.

vessel stand

can you tell what data type it is, this is none other than our structure and class? To tell correctly this is an object and the design of this stand is class.

We are having integer(tumbler), string(plates), byte(spoons), etc., in the same stand. All these are analogies purpose only don’t dig too much 🙂 Ok, Ok like Keladi Kanmani Radhika asking SPB, “moochu vidama padrenu soneenga”, you people are asking what happened to the data structure. Yes, I will explain it now.

I have always found trouble in finding out some ingredients when I work in other people’s kitchens. With all containers looking like it is difficult to identify what is inside them. Arranging the containers in a way it is easy for anyone to take anything is a data structure, way of organizing data. If we keep everything in a single row then it’s an array.

OOPS concept

 

 

array

 

Mom never searches for anything and knows correctly which one holds what. But if it happens that I have to do a lookout for something, I do a linear search to find the ingredient I need. But if I remember someway that mom usually keeps them in the first row, I can do a binary search then ignoring the remaining racks. So like these examples, OOPS is there in every walk of our life. Even the way we arrange our dresses in wardrobe is a data structure. We arrange it in such a way that it will be easy for us to search and keep dresses.

wardwobe

See you all soon in the next blog….. Before that hit the like button if you really like this post 🙂 or else also you can hit like. No restrictions -Sridevi Arun Prakash. For more idly ideas and awesFomely simple concept building on OOPS and other topics, visit us at GUVI.

Contact Form

By clicking 'Submit' you Agree to Guvi Terms & Conditions.

Our Learners Work at

Our Popular Course

Share this post

Author Bio

admin
admin

Our Live Classes

Learn Javascript, HTML, CSS, Java, Data Structure, MongoDB & more
Learn Python, Machine Learning, NLP, Tableau, PowerBI & more
Learn Selenium, Python, Java, Jenkins, Jmeter, API Testing & more
Learn Networking, Security Testing, IAM, Access Management & more

Hey wait, Don’t miss New Updates from GUVI!

Get Your Course Now

Related Articles