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="126.96.36.1994" and a max_version="188.8.131.5299".
The client application needs to compare these versions with its own build version, for instance build_version="184.108.40.2065" 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 "220.127.116.114" 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.....