I come from a C++ background and am trying to learn Java now . For C++ classes , we often split the interface and implementation files into foo.h
and foo.cpp
respectively. After which we would link the files using the #include statement
For Java , how do i split the interface and implemenation into two separate files similar to what I have done in C++ , what are the steps to be taken ??