Operator overloading in Python

Operator Overloading in Python

An operator is a special character that is used to perform a specific operation on operands. Every operand has provided different functionality like + operator performs addition of two numbers …

Read more

Encapsulation in python

Encapsulation in Python

The encapsulation in python means wrapping the data members and member functions in a single block of code. Encapsulation protects the wrapped data by directly accessing the data from outside …

Read more

Python Strftime Method with Examples

Python Strftime

The python strftime() method returns the string which represents the date, time objects. The strftime() method is defined in the datatime library. To use this function, we need to import …

Read more

Encapsulation in Java with Examples

Encapsulation in Java

Encapsulation in java is the mechanism that binds together data member and member functions and keeps both safes from outside interference. One way to think about encapsulation is as a …

Read more

Pin It on Pinterest