In reply to sharvil111:
One point that needs mentioning is if you mix the two case, as in
interface bus_intfc #(int MIN_NUM_PORTS) (input logic clk, input logic reset);
parameter MAX_NUM_PORTS = 1;
//other relevant code of interface
endinterface
You can no longer override the parameter MAX_NUM_PORTS as it becomes a
localparam. This is explained later in section 23.10.
For that reason, I recommend only using the first case to specify parameters that may be overridden.