How does the java interpreter calls a method before it's defined? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

How does the java interpreter calls a method before it's defined?

In the last question in Method chapter, It called method "DoSomething " before that method is defined.

15th Sep 2016, 11:52 AM
MintyKitty
MintyKitty - avatar
2 Réponses
+ 1
The process the code runs through the Jvm isn't the same as we read it. Its nonlinear in how it processes your code.
15th Sep 2016, 7:02 PM
Alex Wood
Alex Wood - avatar
0
thank you for replying. that explains it.
15th Sep 2016, 8:29 PM
MintyKitty
MintyKitty - avatar