• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

how to design classes in java?

Sadaiyappan

Golden Member
i am a C++ programmer, i know in C++ you create the interface (with abstract base class then with inherited classes), and each file is an interface (header files).. then you create the implentation of each header file (source files) THEN you create the main driver file (which is also a source file) can someone explain how you do all this in java?

my book shows packages, libraries, classes and main function all in one file, is it supposed to be like this or am i missing something?
 
Back
Top