class :
usage :
:ryu ranger:
Code:
public class DCStrPair<T> {
public T key;
public T value;
}
usage :
Code:
DCStrPair<String> testN1 = new DCStrPair<>();
testN1.key = "hello ";
testN1.value = "world";
System.out.println(testN1.key + testN1.value);
:ryu ranger: