R
R
Roman Krasnikov2016-10-11 01:00:32
Java
Roman Krasnikov, 2016-10-11 01:00:32

How are objects passed to methods in Java?

How are objects passed in Java that contain an object in their field that refers to another object? Or further.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Rou1997, 2016-10-11
@Rou1997

A reference (managed pointer) is passed, that is, not a value, but the number of the address in memory containing the value.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question