Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


how to write a java program for an output
****0 ***01 **012 *0123 01234



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

Post New Answer

More OOPS Interview Questions

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?.

2 Answers  


How do you make derived class as an abstract class?

1 Answers   Convergys, TCS,


what is use to destroy an object? illustrate.

5 Answers   TCS,


Name an advantage of linked list over array?

11 Answers   IBM, Infosys,


Whats oop mean?

0 Answers  


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){...}

1 Answers  


what is the need of abstraction? what is abstraction?what is the abstraction for stack?

8 Answers   CTS, Verizon,


How Do you Code Composition and Aggregation in C++ ?

3 Answers   IBM, NET,


what is the application of oops?

8 Answers   IBM,


What is virtual Function.

1 Answers   Wipro,


Are polymorphisms mutations?

0 Answers  


Can you explain polymorphism?

0 Answers  


Categories