Computer Science, asked by Reddyteja1106, 1 year ago

Do we need forward declarations in Java?

Answers

Answered by rishirajsharma197
0

In Java, there is little difference between the two, and formally speaking, a declaration includes not only the identifier, but also it's definition. ... Classes: Java doesn't really separate declarations and definitions as C/C++ does (in header and cpp files). You define them at the point where you declare them.

Similar questions