I am wondering what tools do I need to create new class based on user input (and named after it) in Java Application, with minimal usage of code? Example usage:
Provide name for class: apple Class created: apple
Thanks
P.S I dont need the code - I will handle it myself. I am just wondering which tools should I use.
UPDATE
I have found this, though this only shows example of predifined classes. I would like to define
new class.
UPDATE 2
In my case, I the new classes will inherit some of the properties of abstract class. Example: Abstract class Product, and new class 'ComputerProduct' that has access to the methods, and has its own implementations of this abstract class.