Please help me with this Problem Statement
A client application needs to determine if the server to which it is connecting is compatible.
The server will inform the client which versions it supports, for instance responding with a min_version="184.108.40.2064" and a max_version="220.127.116.1199".
The client application needs to compare these versions with its own build version, for instance build_version="18.104.22.1685" would be compatible.
Please produce client code using Java that will indicate to the user whether the client is:
a) compatible with the server
b) older than the minimum supported version
c) newer than the maximum supported version
You can assume that you already have the relevant strings containing the client build version and the supported server versions so there is no need to write code to communicate with the server.
The first numbers in the version string are most significant, so "22.214.171.1244" will be a more recent version than "4.99.999.9999" You will be judged on not just the accuracy and completeness of the code but on the suitability of this code for use in a production corporate environment.
This is an important INTERVIEW QUESTION.....