Why do we use class?
No Answer is Posted For this Question
Be the First to Post Answer
What is the difference between abstraction and polymorphism?
what is the difference between class to class type conversion and copy constructor ?
what is cast operator?
#include <string.h> #include <stdio.h> #include <stdlib.h> #include<conio.h> void insert(char *items, int count); int main(void) { char s[255]; printf("Enter a string:"); gets(s); insert(s, strlen(s)); printf("The sorted string is: %s.\n", s); getch(); return 0; } void insert(char *items, int count) { register int a, b; char t; for(a=1; a < count; ++a) { t = items[a]; for(b=a-1; (b >= 0) && (t < items[b]); b--) items[b+1] = items[b]; items[b+1] = t; } } design an algorithm for Insertion Sort
How is class defined?
what are the ways in which a constructors can be called?
What type of loop is a for loop?
Why is encapsulation used?
write string class as your own class in java without using any built-in function
In which cases you use override and new base?
What is abstraction oop?
Write an operator overloading program to Overload ‘>’ operator so as to find greater among two instances of the class.