how to write a java program for an output
****0 ***01 **012 *0123 01234
Answer / adeel
#include<iostream>
using namespace std;
int main()
{
int i,j;
for(i=0; i<=5; i++)
for(j=1; j<=i; j++)
cout<<j;
system("pause");
return 0;
}
| Is This Answer Correct ? | 0 Yes | 4 No |
Base class has two public data members. How can i derive a new class with one datamember as public and another data member as private?.
What is the types of inheritance?
When you define a integer it gets stored in which data structure?(Stack or a heap)
What are the 4 pillars of oop?
What is persistence in oop?
How to call a non virtual function in the derived class by using base class pointer
String = "C++ is an object oriented programming language.An imp feature of oops is classes and objects".Write a pgm to count the repeated words from this scenario?
why freind function takes more parameter than normal member function in c++?
What is encapsulation process?
What is encapsulation c#?
What is property in oops?
What is inheritance and how many types of inheritance?