CodeSteps

Python, C, C++, C#, PowerShell, Android, Visual C++, Java ...

C# – Modifiers – override and new modifiers

In our earlier Article, we have discussed about benefits and usage of virtual modifier in C#. We learnt that virtual keyword enables to override the members in the derived classes. In this Article, we will discuss about override and new modifiers. These modifiers are used during the inheritance in derived the class which will inherit […]

AngularJS – Directives

Directives are used to direct something. It is so simple, right? 🙂 Yes, it is simple also when we use them in AngularJS. But we need to follow some guidelines, creating and using them in AngularJS. What is that something directive direct? That is the behavior of the elements. We use AngularJS with HTML. HTML […]

C# – Modifiers – The virtual Modifier – Why virtual?

Through the series of Articles, we are discussing about Modifiers in C#. In this Article, we will discuss about virtual modifier. virtual modifier is used during the inheritance; deriving classes from it’s base classes. Why virtual is required? Consider two functions, with same name and different signature; for example, Display(String msg) and Display(int value). Assume, these two functions […]

Python – Access Modifiers – Private Name Mangling

There are NO Access Modifiers in Python. Yes, what you READ is CORRECT. Python doesn’t have any Access Specifiers defined. All the defined members can access from anywhere in the program, within the defined scope. Some of the Programming Languages (C++, Java, C# etc,.) provides private, protected & public access modifiers to define the access […]

Scroll to top