JAVA

final, finally and finalize | Java

final keyword The final keyword in Java is used to restrict the user. final can be used for Variable Method Class The final keyword can be applied with the variables, a final variable that have no value it is called blank final variable or uninitialized final variable. It can be [...]

2019-04-05T16:47:39+05:30Categories: Programming|Tags: |

Function argument | Java

Pass by value Java is always pass by value. Java never provides direct access to the values of objects themselves, in any circumstances. The only access to objects is through a reference to that object. Java uses JVM Stack memory to create the new objects that are formal parameters. This [...]

2019-02-23T17:38:41+05:30Categories: Programming|Tags: |

Java notes

Package Packages in Java is a mechanism to encapsulate a group of classes, interfaces and sub packages. They are used to avoid name conflicts and to control access of class, interface and enumeration etc. A package can be defined as a group of similar types of classes, interface, enumeration and sub-package. [...]

2019-11-27T00:49:52+05:30Categories: Programming|Tags: |
Go to Top