The Java programming language provides a system-level thread to track memory allocation.
Garbage collection has the following characteristics:
? Checks for and frees memory no longer needed
? Is done automatically
? Can vary dramatically across JVM implementations
Encapsulation is a process of binding the data objects together under a single unit.It is one ofthe elements of oops
Function is an algorithm which can be used any where in the program when required
Client code must use setters and getters to access internal data in DataHiding
There will always be a default constructor in every class
Instance is an object not an attribute
In single virtual machine,JVM passes arguments only by value.
Comments
There are no comments.Copyright ©CuriousTab. All rights reserved.