spandana patilspandanapatil.hashnode.dev·a day agoOOPs principles in PythonIn this blog, I will discuss Object-Oriented programming concept using python. OOPs is a programming paradigm which is centered around the classes and objects. classes serve as blueprints that encapsulates data (attributes) and functions (methods) an...1 likeOOPS
Chandan kumardeveloperchandan.hashnode.dev·Dec 18, 2024A Beginner's Guide to Object-Oriented Programming in JavaScriptJavaScript was often considered a language primarily suited for scripting interactions on web pages—dominating the front-end development world with its event-driven and functional programming style. However, as JavaScript evolved, so did its programm...JavaScript
Mitali sahuwhat-is-oops.hashnode.dev·Dec 18, 2024What is variable hiding and variable shadowing and what are the difference between variable hiding and shadowing?Variable hiding —> Whenever the global variable and local variable is same then it is called as variable hiding. To overcome this issue we use this keyword to access the current variable. Variable shadowing —> When the subclass variable is same as pa...Java
Mitali sahuwhat-is-oops.hashnode.dev·Dec 17, 2024What is this() and super() in java?This() and super() both are the keywords in java. If we want the access the super class/parent class data member or member function then we can use super() in java. If we want to access the member or member function from the current class then we can...Learning Journey
Nishant Banjadeblog.nishantbanjade.com.np·Dec 17, 2024Mastering C# Part 7.2 Object Oriented ProgrammingInheritance in C# Inheritance is a fundamental concept in Object-Oriented Programming (OOP) that allows a class (derived class) to inherit properties, methods, and other members from another class (base class). It promotes code reuse, extensibility, ...C#
Dhruvi Shahdhruvishah.hashnode.dev·Dec 16, 2024Metaclasses Demystified: Building Classes that Build Classes! 🚀What’s a Metaclass? In Python, when you define a class, Python uses a metaclass to determine how the class behaves. By default, the metaclass for all classes in Python is type. Think of metaclasses as the architects of your classes. They don’t buil...4 likes·36 readsOOPS
Mitali sahuwhat-is-oops.hashnode.dev·Dec 15, 2024Why constructor name and class name is sameThe main purpose of constructor is to initialize the object properties at the time of object creation if constructor name is same as class name then the JVM can automatically invoke the constructor. If we does not declare constructor name same as cla...Java
Mitali sahuwhat-is-oops.hashnode.dev·Dec 15, 2024How java achieve platform independence?With the help of .class file java achieve platform independence. When we write java program the extension of the file must be .java after compiling that .java file JVM will generate one special file i.e. .class file which is also known as byte code. ...Java
Mitali sahuwhat-is-oops.hashnode.dev·Dec 14, 2024How many ways we can call static variable and methodThere are four ways to call static variable and static method By using new keyword. By using class name By creating object By assigning null to object reference with the help of this 4 method we call static variable and static method.Java
Mitali sahuwhat-is-oops.hashnode.dev·Dec 10, 2024Why multiple inheritance is not supported in java?What is multiple inheritance ? So whenever the child class inherits the properties from the multiple parent class then it is called as multiple inheritance. Why it is not supported? Let suppose java supports multiple inheritance, so the subclass inhe...Java