Subjects
PRICING
COURSES
SIGN IN
Start Free Trial
Nikhita K.
Student
Tutor Satisfaction Guarantee
Java Programming
TutorMe
Question:

What is the role of garbage collector in Java?

Nikhita K.
Answer:

Garbage collector keeps a track of all unused (or which are not referenced) object in a java program. For example: Lets allocate an object: Object obj = new Object(); // New allocates memory of Object's size. Now, once the program is over, we need to remove the memory allocated by the above statement. This is done by garbage collector so programs don't have to take the burden of freeing the unused memory.

Computer Networking
TutorMe
Question:

What is a router ?

Nikhita K.
Answer:

A Router is a mixture of hardware and software that connects two remotely independent networks together. For example, let there be two networks: Network 1 with nodes A, B and C connected locally (i.e. they can communicate with each other but not to nodes in any other network) and Network 2 with nodes D, E and F connected locally. Now, if place a router between Network 1 and Network 2, all the nodes (A-F) will be able to communicate with each other.

C Programming
TutorMe
Question:

What is the role of # in a C Program ?

Nikhita K.
Answer:

# symbol is used to include the prebuilt C libraries and make them available for use in your program. For example, printf function defined in stdio.h can be used to print data on the console/screen. Now, by writing #include "stdio.h" in starting of your C program you can use this function and use it for printing anything on the screen.

Send a message explaining your
needs and Nikhita will reply soon.
Contact Nikhita
Ready now? Request a lesson.
Start Session
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 Session" 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.