```c++
#include<iostream>
using namespace std;
class Ctime{
public:
Ctime(int h,int m,int s){
hour = h;
minute = m;
second = s;
}
void showTime(){
cout<<"时间是:"<<hour<<":"<<minute<<":"<<second<<endl;
}
private:
int hour,minute,second;
};
int main(){
Ctime c(1,02,30);
c.showTime();
return 0;
}
```