Ho presentato la mia candidatura tramite l'università. La procedura ha richiesto 5 giorni. Ho sostenuto un colloquio presso Trusted Positioning (Calgary, AB)
Colloquio
Applied online. Has the interviewed in the company.
Domande di colloquio [5]
Domanda 1
Tell me about 3 (4) Concepts of Object Oriented programming
- Give me examples on how to implement them
<resume> you mentioned you created a database in Java, what kind of database? how was it implemented?
<resume> you mentioned you created a board game in C++, how was it implemented? tell me about the data structure/inheritance? How do you make one function inherit from another one in C++?
in the following:
#include <iostream>
using namespace std;
void foo(int x);
int a = 1;
int main()
{
int c = 10;
foo(a);
foo(c);
cout << a << endl;
cout << c << endl;
}
void foo(int x){
x++;
}
what is the final value of a and b? why? if not changed, how do you modify the code so the value changes by after calling foo()? Java vs C++?