Enable contrast version

Tutor profile: Evan P.

Evan P.
Experienced Software Engineer with a passion for equipping others with the tools and resources that will help them thrive.

Questions

Subject: Java Programming

TutorMe
Question:

In Java, how do you create a class that can be used as multiple different types?

Evan P.
Answer:

Through the use of inheriting interfaces. Unlike in C++ where multiple classes can be inherited, in Java, only one class may be inherited, but many interfaces may be inherited. This results in the general pattern of inheriting contracts and composing functionality.

Subject: C++ Programming

TutorMe
Question:

In C++, what benefit do generic classes provide?

Evan P.
Answer:

Generic classes allow you to define a class that can work with multiple different types of data, as long as that type adheres to the "contract" specified in the template parameters.

Subject: C Sharp Programming

TutorMe
Question:

In C#, what do you need to do to correctly handle the freeing of resources used by an instance of a class (i.e. an object) that you are creating?

Evan P.
Answer:

Memory-based resources (such as simple variables and other objects) that are class members do not require any special actions (except some rare cases). Resources such as database connections (and other session-like) resources may need to be closed if those objects do not explicitly handle closing themselves when they are destructed, or if an object for the resource is not held (such as if a session key is used).

FAQs

What is a lesson?
A lesson is virtual lesson space on our platform where you and a tutor can communicate. You'll have the option to communicate using video/audio as well as text chat. You can also upload documents, edit papers in real time and use our cutting-edge virtual whiteboard.
How do I begin a lesson?
If the tutor is currently online, you can click the "Start Lesson" button above. If they are offline, you can always send them a message to schedule a lesson.
Who are TutorMe tutors?
Many of our tutors are current college students or recent graduates of top-tier universities like MIT, Harvard and USC. TutorMe has thousands of top-quality tutors available to work with you.
BEST IN CLASS SINCE 2015
TutorMe homepage
Made in California by GoGuardian
Copyright © 2022. Zorro Holdco, LLC doing business as TutorMe.
All Rights Reserved.
High Contrast Mode
On
Off