Hello World ,,,Using Class

 Hello World Using Class

#include<iostream>

using namespace std;

class Solution{

        void Hello(){

                cout<<"Hello";

            }
};

int main()

{
Solution s;

s.Hello()
}

Comments

Popular posts from this blog

C++

Data Type in C++.