Create a console application. Following requirements:
- Use OOP: inheritance, polymorphism, encapsulation.
- Every class must have a thorough sense of the title and an informative part.
- Inheritance should be used only when necessary.
- Mast use java code convention.
- Classes must be competently laid out on packages.
- Work with the console or console menu should be minimal.
- To store the initialization parameter files can be used.
Knight. Determine the hierarchy of ammunition knight. Equip Knight. Calculate the cost. To sort of ammunition on the basis of weight. Find items ammunition corresponding to a given range of price options.