SQL Interview Questions

1. What are differences between the DELETE and TRUNCATE statement? Answer Delete only deletes a row and is slower than truncate. Truncate deletes all the rows and cannot be rolled back. 2. What are the different subsets of SQL? Answer Data Definition Language (Allows you to create and delete objects), Data Manipulation Language (Allows manipulation …

Abstract Vs Interface

Abstract and Interfaces are two important uses in Java Classes. Here are a few differences between the two of them. At the bottom I put an example of each one being used. Abstract classes are allowed to have both abstract and non abstract methods. While interface methods are ONLY allowed to have abstract methods. Abstract …

Design a site like this with WordPress.com
Get started