Filter interviews by
I applied via Naukri.com and was interviewed in Feb 2024. There were 2 interview rounds.
Exceptions in Python are handled using try-except blocks to catch and handle errors gracefully.
Use try-except blocks to catch and handle exceptions in Python.
Specify the type of exception to catch or use 'except' to catch all exceptions.
Use 'finally' block to execute code regardless of whether an exception was raised or not.
Reraise exceptions using 'raise' keyword within except block if needed.
Handle specific exception...
Method overloading is having multiple methods in the same class with the same name but different parameters. Method overriding is redefining a method in a subclass with the same signature as in the superclass.
Method overloading allows a class to have multiple methods with the same name but different parameters. Example: void print(int a) and void print(int a, int b).
Method overriding occurs when a subclass provides a s...
Polymorphism in C++ can be implemented using function overloading, function overriding, and virtual functions.
Use function overloading to have multiple functions with the same name but different parameters.
Use function overriding to have a function in a derived class with the same name and parameters as a function in the base class.
Use virtual functions to achieve runtime polymorphism by allowing a function in a base c
In JavaScript, == is used for equality comparison, while === is used for strict equality comparison.
The == operator compares two values for equality, performing type coercion if necessary.
The === operator compares two values for strict equality, without type coercion.
Example: 1 == '1' will return true, but 1 === '1' will return false.
About all these skills and related skills
Top trending discussions
Interview experience
based on 1 review
Rating in categories
Engineer
20
salaries
| ₹1.3 L/yr - ₹38 L/yr |
Senior Software Engineer
12
salaries
| ₹6.8 L/yr - ₹16 L/yr |
Senior Engineer
9
salaries
| ₹6.5 L/yr - ₹32 L/yr |
Manager / Sr Manager - Administration
8
salaries
| ₹8 L/yr - ₹30 L/yr |
Assistant Manager/Manager-(Nontechnical)
8
salaries
| ₹2.7 L/yr - ₹18.5 L/yr |
TCS
Infosys
Wipro
HCLTech