Govt Exams
A constructor is a special method called when an object is created to initialize its properties.
OOP is based on organizing code into objects that contain both data (properties) and functions (methods).
Git is a version control system used to track changes in source code and collaborate with other developers.
SQL stands for Structured Query Language, used for database operations.
Stack (Last In First Out) removes the most recently added element. Queue (First In First Out) removes elements in the order they were added.
Bubble sort has a worst-case time complexity of O(n^2) when the array is in reverse order.
REST stands for Representational State Transfer, an architectural style for web services.
An API (Application Programming Interface) allows different software applications to communicate and exchange data.
Binary search has a time complexity of O(log n) because it divides the search space in half with each iteration.
MongoDB is a NoSQL database that stores data in document format. MySQL, PostgreSQL, and Oracle are relational databases.