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?.
How do you make derived class as an abstract class?
what is use to destroy an object? illustrate.
Name an advantage of linked list over array?
Whats oop mean?
In OverLoading concept,Why they are not consider return value and why they are consider only parameters in method? For ex: public int Add(int a,int b){...} public String Add(int a,int b){...}
what is the need of abstraction? what is abstraction?what is the abstraction for stack?
How Do you Code Composition and Aggregation in C++ ?
what is the application of oops?
What is virtual Function.
Are polymorphisms mutations?
Can you explain polymorphism?