- Recursion
Recursion is the technique of making a function call to itself. This technique provides a way to break complicated problems down into simple problems which are easier to solve. Recursion Structure validation of input base case where it stops calling itself and returns a value recursive case,…
- MySQL interview – Advanced Queries
MySQL Advanced Queries 1.a Write a query to find the top 3 highest salaries in the company. SELECT salary FROM employee ORDER BY salary DESC LIMIT 3; 1.b Write a query to find the top 3 highest salary employees in the company. SELECT * FROM employee ORDER BY salary DESC LIMIT 3; 1.c Write a […]
- MySQL interview – Fundamentals
MySQL Fundamental Questions 1. What is a database? A database is an organized collection of data. It stores data in a way that data can be easily accessed and maintained. It has tables that contain rows and columns. Example: School Management Database, Bank Management Database, etc. 2. What is…
- Java interview – Serialization
1. What is Serialization? Serialization is the process of converting an object and its states to a binary stream that can then be saved into a database, cached or sent over the network to another JVM. 2. What is Deserialization? Deserialization is the process of converting back a serialized object.…
- Java interview – Exception