Oops Concepts

Termiologies Class Object Inheritence Polymorphism Abstraction Encapsulation What is a class? A class is a collection of methods and variables. It defines the data and the behaviour of a type. It is like a blueprint or template from which objects are created. A class is declared once. A class doesn’t allocated memory when it is created. What is an object? An object is an instance of a class.

What is the difference between Topic and Partition in Apache Kafka

Partitions in Kafka are like buckets within a topic used for better load balancing when you are dealing with large throughput where you can as many consumers as your partitions to process your data. For example if you are processing orders you can send all orders for iPad into one partition “0” and iPhones in another partition “1” of the same Orders Topic and you can have two services one processing iPhone order from partition “1” and iPad from partition “0” and also maintain ordering of messages per partition.

My English language notes

I’ll go to the dentist’s as soon as I have (no future!) a toothache. What a mess! Your mother will be angry when she comes back. (no future!) I’ll stay at home until you phone me. (no future!) Sentence : Counting of votes will take place on May 23, after all seven phases of voting are completed. Here When condition (seven phases) is used in future tense, and comes in the middle of sentense then 2nd part of sentence is written in present tense (here passive voice).

Asprashyata samaj ke liye kalank hai

अस्पृश्यता समाज के लिए एक कलंक है। यह परंपरा आज की बनाई हुई नहीं है बल्कि प्राचीन काल से चली आ रही है। प्राचीनकाल में समाज ने लोगों को उनके कार्यों के आधार पर बांट दिया। जो वर्ग उच्च वर्ग के लोगों की सेवा करता चमड़े का काम करता, गंदगी को साफ करता, उसे निम्न वर्ग का दर्जा दिया गया। इन लोगों के काम की वजह से उच्च वर्ग के लोग उन्हें घृणा की दृष्टि से देखते थे, उनके साथ बुरा व्यवहार करते थे और उन्हें अस्पृश्य मान लिया गया। अतः अस्पृश्यता से तात्पर्य है उच्च वर्ग के लोगों द्वारा इन वर्ग के लोगों पर थोपी गई छुआछूत की भावना।