i
Webkul
Software
Filter interviews by
In PHP, == checks for value equality, while === checks for both value and type equality.
== compares values for equality, ignoring data types. Example: 5 == '5' returns true.
=== compares both value and type. Example: 5 === '5' returns false.
Using == can lead to unexpected results due to type juggling.
=== is generally preferred for strict comparisons to avoid bugs.
Constructors initialize objects, while destructors clean up resources before an object is destroyed in PHP.
A constructor is a special method called when an object is instantiated.
Syntax: function __construct() { // initialization code }
Example: class MyClass { function __construct() { echo 'Object created'; } }
A destructor is a method called when an object is destroyed.
Syntax: function __destruct() { // cleanup co...
Inheritance is a mechanism in OOP where a new class is derived from an existing class.
Inheritance allows the new class to inherit the properties and methods of the existing class.
The existing class is called the parent class or superclass, and the new class is called the child class or subclass.
The child class can add new properties and methods, or override the existing ones.
There are different types of inheritanc...
Truncate removes all data from a table while delete removes specific rows.
Truncate is faster than delete as it doesn't log individual row deletions
Truncate resets the identity of the table while delete doesn't
Truncate cannot be rolled back while delete can be
Truncate doesn't fire triggers while delete does
Object oriented programming is a programming paradigm that uses objects to represent and manipulate data.
Encapsulation: bundling data and methods that operate on that data within one unit
Inheritance: creating new classes from existing ones, inheriting their properties and methods
Polymorphism: ability of objects to take on many forms and behave differently based on context
Examples: Java, C++, Python, Ruby
I appeared for an interview in Apr 2025, where I was asked the following questions.
I applied via Walk-in and was interviewed in Dec 2022. There were 2 interview rounds.
There were 1 coding question based on pattern and time given was 1 hour.
I applied via Campus Placement and was interviewed in Feb 2022. There were 3 interview rounds.
Specially Patter Questions of coding.
Object oriented programming is a programming paradigm that uses objects to represent and manipulate data.
Encapsulation: bundling data and methods that operate on that data within one unit
Inheritance: creating new classes from existing ones, inheriting their properties and methods
Polymorphism: ability of objects to take on many forms and behave differently based on context
Examples: Java, C++, Python, Ruby
Inheritance is a mechanism in OOP where a new class is derived from an existing class.
Inheritance allows the new class to inherit the properties and methods of the existing class.
The existing class is called the parent class or superclass, and the new class is called the child class or subclass.
The child class can add new properties and methods, or override the existing ones.
There are different types of inheritance, su...
Truncate removes all data from a table while delete removes specific rows.
Truncate is faster than delete as it doesn't log individual row deletions
Truncate resets the identity of the table while delete doesn't
Truncate cannot be rolled back while delete can be
Truncate doesn't fire triggers while delete does
I applied via Campus Placement and was interviewed before Feb 2023. There were 3 interview rounds.
Pattern Printing in any language
Top trending discussions
posted on 4 Aug 2021
I applied via Campus Placement and was interviewed in Mar 2021. There were 4 interview rounds.
posted on 28 May 2021
I applied via Campus Placement and was interviewed in Jun 2021. There were 5 interview rounds.
I applied via Approached by Company and was interviewed in Jan 2024. There was 1 interview round.
Program to calculate the area of a circle
The formula to calculate the area of a circle is: A = π * r^2
The radius of the circle is required as input
The value of π can be approximated as 3.14159
The area should be calculated and displayed as output
OOP in .NET encompasses encapsulation, inheritance, polymorphism, and abstraction for robust software design.
Encapsulation: Bundling data and methods. Example: A class 'Car' with properties like 'Speed' and methods like 'Drive()'.
Inheritance: Deriving new classes from existing ones. Example: 'ElectricCar' inherits from 'Car'.
Polymorphism: Methods can be redefined in derived classes. Example: 'Drive()' method behaves di...
I applied via Naukri.com and was interviewed in Nov 2023. There were 4 interview rounds.
based on 3 interview experiences
Difficulty level
Duration
based on 20 reviews
Rating in categories
Software Engineer
234
salaries
| ₹3.2 L/yr - ₹7.6 L/yr |
Business Analyst
89
salaries
| ₹2.6 L/yr - ₹7.8 L/yr |
Senior Software Engineer
67
salaries
| ₹9.2 L/yr - ₹15.8 L/yr |
Software Developer
54
salaries
| ₹3.2 L/yr - ₹6.8 L/yr |
Softwaretest Engineer
54
salaries
| ₹2.4 L/yr - ₹5.5 L/yr |
JK Tech
MindGate Solutions
Softenger
Espire Infolabs