Introduction to Java

Java Programming is concisely explained.

Entries from 2019-07-21 to 1 day

7. Passing Arguments to Method

There are two ways for parameter passing between the method calling side and the called. One is called “by value” and the other is “by reference”. The former is applied to primitive data types, the latter to objects. Look at the sample pro…

6. Constructor

Constructor is a special method which is more like an instance method than a class method, for it is related with instance. Constructor can access all of instance fields and methods and static fields and methods. However, it can run withou…