Your peers in the course Advanced Programming (IN1503) at the TU München create and share summaries, flashcards, study plans and other learning materials with the intelligent StudySmarter learning app.
Get started now!
Advanced Programming (IN1503)
What does the modifyer private mean?
Only object of the same class can access members.
Advanced Programming (IN1503)
What does the modifyer protected mean?
Only objects of the same or derived classes can access members.
Advanced Programming (IN1503)
What does the modifyer public mean?
Anyone can access members of a class.
Advanced Programming (IN1503)
Why shouldn't we make all member variables public?
Advanced Programming (IN1503)
What does a Constructor do?
Creates an object (initializing its members):
Point point1;
Advanced Programming (IN1503)
What does a Destructor do?
Destroys the object when going out-of-scope.
Advanced Programming (IN1503)
What does a Copy constructor do?
Creates an object given another object of the same type:
Point point2(point1);
Advanced Programming (IN1503)
What does a Copy-assignment operator do?
Assign one object to another object of the same type:
point3 = point2;
Advanced Programming (IN1503)
What does a Move constructor do?
"Steal" the resources of an existing object to create a new one.
Advanced Programming (IN1503)
What does a Move-assignment operator do?
"Steal" the resources of another object and assign them to this object.
Advanced Programming (IN1503)
What do setters ensure?
Setters enforce the valid state of an object.
Advanced Programming (IN1503)
What are UML Diagrams good for?
They help to create an overview of an object-oriented structure and make sure that the structure makes sense.
For your degree program Advanced Programming (IN1503) at the TU München there are already many courses on StudySmarter, waiting for you to join them. Get access to flashcards, summaries, and much more.
Back to TU München overview pageStudySmarter is an intelligent learning tool for students. With StudySmarter you can easily and efficiently create flashcards, summaries, mind maps, study plans and more. Create your own flashcards e.g. for Advanced Programming (IN1503) at the TU München or access thousands of learning materials created by your fellow students. Whether at your own university or at other universities. Hundreds of thousands of students use StudySmarter to efficiently prepare for their exams. Available on the Web, Android & iOS. It’s completely free.
Best EdTech Startup in Europe