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 |
Can an interface inherit a class?
IN PROGRAMING LANGAUGE A C++ IS PURELY OBJECT ORIENTED OR NOT?
#include <string.h> #include <stdio.h> #include <stdlib.h> #include <conio.h> void select(char *items, int count); int main(void) { char s[255]; printf("Enter a string:"); gets(s); select(s, strlen(s)); printf("The sorted string is: %s.\n", s); getch(); return 0; } void select(char *items, int count) { register int a, b, c; int exchange; char t; for(a = 0; a < count-1; ++a) { exchange = 0; c = a; t = items[ a ]; for(b = a + 1; b < count; ++b) { if(items[ b ] < t) { c = b; t = items[ b ]; exchange = 1; } } if(exchange) { items[ c ] = items[ a ]; items[ a ] = t; } } } design an algorithm for Selection Sort
What is Iteration Hierarchy? What is what is Object behavioral concept?
Is abstract thinking intelligence?
What is Inheritance, Multiple Inheritance, Shared and Repeatable Inheritance?
Which is better struts or spring?
4. What do you mean by a prototype? Define analysis prototype
What is a superclass in oop?
What is oops in programming?
What is the real time example of encapsulation?
How do you define a class in oop?