Enable contrast version

Tutor profile: Michael H.

Inactive
Michael H.
Former software developer with athenahealth. B.S. Computer Science
Tutor Satisfaction Guarantee

Questions

Subject: Java Programming

TutorMe
Question:

Write a snippet of code that will reverse the order of a string.

Inactive
Michael H.
Answer:

public static void reverseString (String input) { String newString = ""; int length = input.length(); for (int i = length-1; i >= 0; i--){ newString = newString + input.charAt(i); } System.out.println("New String: " + newString); }

Subject: Computer Science (General)

TutorMe
Question:

Describe encapsulation and an advantage it gives a programmer.

Inactive
Michael H.
Answer:

Encapsulation is the bundling of both the data and the methods or functions used on the data. This creates a separation of concern between different sections of software and this helps prevent unexpected behavior from appearing in your software. It also allows you to reuse code in different areas of your software as well.

Subject: C Programming

TutorMe
Question:

Describe the difference between a variable and a pointer.

Inactive
Michael H.
Answer:

A variable points to the actual data held inside of memory where as a pointer "points" to the memory address where the data is stored.

Contact tutor

Send a message explaining your
needs and Michael will reply soon.
Contact Michael

Request lesson

Ready now? Request a lesson.
Start Lesson

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 Zovio
© 2013 - 2021 TutorMe, LLC
High Contrast Mode
On
Off