Do we need forward declarations in Java?
Answers
Answered by
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
Social Sciences,
6 months ago
Math,
6 months ago
Computer Science,
11 months ago
Physics,
1 year ago
English,
1 year ago