Translate:
Follow Us
Pages
C++ “Diamond Problem” of Multiple Inheritance
Home
Privacy Policy GDPR
Java
If You Put System.exit(0) on Try or Catch block, Will Finally Block Execute?
JVM platform dependent?
Method overriding vs overloading
Why have a private constructor
Difference between object and class
How copy constructors work
Final modifier
Finally block
Java: Will Finally run after return?
Java Protected Example
Java serializable class example
Multiple Inheritance
How to Create a Thread in Java
Interface vs. Abstract Class
Thread States in Java
Arithmetic Exception
Overridden Method
Dynamic Binding
Can constructors be synchronized in Java?
Does Java pass by reference or by value?
Difference between a primitive type and a class type?
Does Java have pointers?
Downcasting in Java
Java: Diamond Problem
Java: Can an interface extend another interface?
Java: Are objects of the same type as the interface implemented?
Java: Can an interface be instantiated?
Find First Nonrepeated Character
Java: What’s the difference between equals() and ==?
Find trailing zeros in factorial
Java Reflection Example
Bit Manipulation Interview Questions and Answers
XOR in Java
Java Inner Class Example
When to use inner classes in Java
Inner vs nested class
Java Anonymous Class Example
Anonymous Class Interface
Argument Defined Anonymous Inner Class
C/C++
Introduction
Function Overloading
How to Read Complex C Declarations
C++ abstract keyword
Pure Virtual Function
Lvalues and Rvalues in C
Inline vs. Macro
Diamond Problem
How Vtables Work
Virtual Destructors
Friend Classes in C++
How do you call C functions from C++?
What is a memory leak in C++?
What is the difference between delete and delete[ ]?
What’s the difference between a class variable and an instance variable?
Can static function access non-static members of class?
Execution order of constructor and destructor in inheritance
Does C++ support multiple inheritance?
Can you change the “this” pointer?
Function Templates in C++ example
C++: The compiler and function templates
C++: Function template with more than one type parameter
C++: #include ” ” vs. #include <>
C++: Name Hiding
C++ Ellipsis Catch Handler
What happens if a thrown exception is not handled?
C++ namespace example
C++ const pointer examples
Databases/SQL
SQL Interview Questions
UNION vs. UNION ALL
Inner vs. Outer joins
SQL Key Definition
Differences between Primary and Foreign Keys
Natural Key In Database
Secondary Key
Simple key in SQL
Superkey Example
What is Referential Integrity
Having vs. Where clause
How do database indexes work?
What is a self join?
Example of DISTINCT in SQL
Retrieve unique rows without DISTINCT
Practice Interview Question 1
Practice Interview Question 1 continued
Practice Interview Question 1 continued
Practice Interview Question 2
Advanced SQL Interview Questions and Answers
Advanced SQL Interview Questions and Answers Part 2
Practice Interview Question 2 continued
Data Mining vs. Data Warehousing
Ternary/Three-valued Logic in SQL
Find Maximum Value Without Using Aggregate
SQL Injection Example and Tutorial
SQL Injection Prevention
Blind SQL Injection Example
Parameterized Queries vs Prepared Statements
Prepared Statement Example
Difference between a full join and an inner join?
Difference between a left outer join and right outer join?
Difference between a left join and a left outer join?
SQL: Having vs Group By
SQL: Group By with multiple columns
SQL – Select Distinct and Order By
SQL – Order By default sort order
Derived table vs subquery
Correlated vs Uncorrelated Subquery
Find nth highest salary – SQL
Cardinality in SQL
Selectivity in SQL Databases
Cardinality versus Selectivity