Need Java source code example

I need Java source code that compiles and has at least three classes, please.  It’s for a reverse engineering example.

Hi @eemc22,

Thanks for being part of the GitHub Community Forum.

Please provide more details. This will make the community more likely to respond to your post. You may want to include what you are trying to achieve, what you have tried so far, and explain a bit about the project.  


I am using MagicDraw to reverse engineer Java code to a sequence diagram to explain reverse engineering to my customer.  I have a C++ example with polygons worked out to show the section of code that creates classes (3) then, shows those class names on a Class Diagram so, they can see it worked.  I need some Java source code that is compilable and can do something similar.

@eemc22, who is your customer?