Encapsulation is a process of binding the data objects together under a single unit.It is one ofthe elements of oops
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
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
Comments
There are no comments.Copyright ©CuriousTab. All rights reserved.