Language Specific Features Flashcards
1
Q
Diff between C++ and JavaScript
A
memory management
platform dependence
pointer support
2
Q
Enables runtime polymorphism in C++
A
Virtual functions
3
Q
Allow writing generic code that can work with diff data types
A
C++ templates
4
Q
What are exceptions in Java & C++
A
Runtime errors
5
Q
How are exceptions handled in Java & C++
A
try-catch blocks
6
Q
Provides built-in support for multithreading using the Thread class and synchronized keyword
A
Multithreading (Java)
7
Q
In C++ multithreading is handled by these libraries
A
<mutex>
<thread>
</thread></mutex>