import std.stdio;
import std.string;
class printData {
public:
void print(int i) {
writeln(Printing int: ,i);
}
void print(double f) {
writeln(Printing float: ,f );
}
void print(string s) {
writeln(Printing string: ,s);
}
};
void main() {
printData pd = new printData();
// Call print to print integer
pd.print(5);
// Call print to print float
pd.print(500.263);
// Call print to print character
pd.print(Hello D);
}