Filter interviews by
I applied via Job Portal
An interface is a blueprint of a class that defines a set of methods without implementation.
An interface can be implemented by multiple classes.
All methods in an interface are public and abstract by default.
Interfaces can also contain constants and default methods.
Example: interface Shape { void draw(); }
Example: interface Animal { void eat(); void sleep(); }
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 cannot be rolled back while delete can be
Truncate resets the identity of the table while delete doesn't
Truncate doesn't fire triggers while delete does
Truncate is a DDL command while delete is a DML command
Top trending discussions
based on 1 review
Rating in categories
Software Programmer
5
salaries
| ₹3.2 L/yr - ₹4.3 L/yr |
Programmer
4
salaries
| ₹0.9 L/yr - ₹2 L/yr |
Tradebulls
Axis Sales
Wishup
Comvision