Sign in

| Software Developer | Programming enthusiast | Loves DS and Algo | Passionate about Future | Writes Mostly tech stuff |

Java synchronization guide for your next interview…

Photo by Max Duzij on Unsplash

What Does Atomic mean?


A virtual table based on the result-set of an SQL statement.

Create view viewName

What Is a View in SQL?

How to Create a View?

CREATE VIEW view_name AS
SELECT column1, column2, …
FROM table_name
WHERE condition;


Improve the performance of your database by knowing the concept of indexes.

Indexing

What Is an Index?


One main Java OOPs concept you must know.

Encapsulation

What Is Encapsulation?


Don’t misuse synchronized and volatile in your application.

Cache Coherence



Answer your next interview question.

Defining Java Generics:

  • Generics were introduced in JDK 5.0 to provide compile-time type checking and to eliminate the risk of ClassCastException that was common when working with collection classes earlier.
  • A programmer can restrict a collection class to contain only one type of object using Generics.


Often used clauses with the aggregate functions.

SQL group by and having clauses

What Does the Group by Clause Do?


Most commonly asked interview questions in SQL.

Truncate, Delete and Drop

TRUNCATE:

TRUNCATE TABLE table_name;
  • TRUNCATE is a Data Definition Language(DDL) command.
  • TRUNCATE is executed using a table lock and the whole table is locked to…


One of the fundamental concepts in Oop that you must know.

Abstraction

What Is Abstraction?

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store