what is oppes
Answers were Sorted based on User's Feedback
Answer / aayush patwa
A type of programming in which programmers define not only
the data type of a data structure, but also the types of
operations (functions) that can be applied to the data
structure. In this way, the data structure becomes an
object that includes both data and functions. In addition,
programmers can create relationships between one object and
another. For example, objects can inherit characteristics
from other objects.
One of the principal advantages of object-oriented
programming techniques over procedural programming
techniques is that they enable programmers to create
modules that do not need to be changed when a new type of
object is added. A programmer can simply create a new
object that inherits many of its features from existing
objects. This makes object-oriented programs easier to
modify.
To perform object-oriented programming, one needs an object-
oriented programming language (OOPL). Java, C++ and
Smalltalk are three of the more popular languages, and
there are also object-oriented versions of Pascal.
| Is This Answer Correct ? | 0 Yes | 0 No |
We have a scale and 7 balls. 1 ball is heavier than all the rest. How to determine the heaviest ball with only 3 possible weighing attempts?
What is the purpose of enum?
What is deep and shalow copy?
#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
Explain the advantages of inheritance.
What is polymorphism and why is it important?
Write A Program using Single and Multiple Inheritance.
Why interface is used?
write a program to enter a string like"sunil is a good boy and seeking for a job" not more than 10 characters including space in one line,rest characters should b in other line.if the next line starts from in between the previous word,then print whole word to next line.
What do you mean by overloading?
DIFFRENCE BETWEEN STRUCTURED PROGRAMING AND OBJCET ORIENTED PROGRAMING.
The company is a fake company asking for money of RS10000 while training and not offering a job after training. My humble request to you people not to attend Astersys interview