Enable contrast version

# Tutor profile: Rushil D.

Rushil D.
PhD Student at University of Maryland

## Questions

### Subject:Java Programming

TutorMe
Question:

Does Java use pointers? Why or why not?

Rushil D.

Java does not allow explicit use of pointers to the user. The user can instantiate objects with a certain variable name and then pass that variable name around as a memory address like a regular pointer. The reason there are no explicit pointers is to avoid the many possible pointer bugs that occur from incorrect freeing and reassigning. Problems like dangling pointers are very easy to run into for beginners, and so Java's lack of explicit pointers is an advantage as a starting language for coders.

### Subject:Geometry

TutorMe
Question:

If the length of a rectangle is 7 less than four times the width, and the perimeter is 106, find its length and width.

Rushil D.

Because it is a rectangle, the perimeter is 2 times the length + 2 times the width. Let the length be l and width be w. This means that 2l + 2w = 106. From the problem we know that l = 4w - 7. Substituting this expression in we get, 2(4w - 7) + 2w = 106. Simplifying we get, 10w - 14 = 106. Adding both sides by 14 then dividing by 10 we get, 10w = 120 and w = 12. This means that l = 4(12) - 7 = 41. Length is 41 and width is 12.

### Subject:Algebra

TutorMe
Question:

There are two numbers whose sum is 126. One number is five times the other. What are the numbers?

Rushil D.

Let the two numbers be x and y. This means that x + y = 126. Let y be the number that is larger, this means that y = 5x In other words, x + y = x + 5x = 6x = 126. Dividing both sides by 6, we get x is 21. This means y = 5x = 105. The two numbers are 21 and 105.

## 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