in java we use import javax.swing when we want to use frame and panel we write like this
class frame extends jframe
but in c++ we use <iostream.h> and <conio.h> where we use cin and cout from these libraray functions but we dont inherit anything .we use normally we dont write like class base:public derieved there is no inheriting property