What is the concept of object oriented program?
Answers were Sorted based on User's Feedback
Answer / nijasec
It giving importance to object or it consists of objects of
classes
| Is This Answer Correct ? | 13 Yes | 3 No |
Answer / kalyan
it is a concept which uses a method of using objects
| Is This Answer Correct ? | 4 Yes | 1 No |
It giving importance to object or it consists of objects of
classes
| Is This Answer Correct ? | 5 Yes | 2 No |
Answer / jangam
the object oriented is the write the oops concept and write
the classes
| Is This Answer Correct ? | 3 Yes | 3 No |
#include <iostream> using namespace std; struct wow { int x; }; int main() { wow a; a.x = 22; int c = a.x; int *b = new int; cout << c; return 0; } option: No output 0 22 -(11) Will not compile
Why is encapsulation used?
what is the difference between <stdio.h>and "stdio.h"?
Why do we use polymorphism?
What does and I oop mean?
How would you stop a class from class from being derived or inherited.
Write an operator overloading program to write S3+=S2.
what is the abstract class,interface ,its difference with a programatic eg.? hi,recently i went for an interview they ask me what is abstract class ,interface and its difference I said abstract class contain abstact method ,abstract method is a method with no body.Abstract class cannot be instantiated.Abstract class is a base class it required derived class for the implementation of method. Interface is a syntactical contract that all derived class should follow it define properties ,method,events which are known as member of interface. Then They asked me what is the difference between them. I said abstract class interface 1.abstact class can implement method 1.interface cant 2.abstact class can contain constructor, 2.interface cant destructor 3.abstract class cannot support multiple 3.interface support inheritance etc Then they said some different answer I said dont no. Then they ask me when i should make abstract class for an project and when i should make interface. I said if suppose there is two class which must be having method with different logic then we sholud make abstract class. and if suppose we have two class having method .with different logic then we can make interface . Am i correct with my explaination.if not correct me .please provide me that when should we create abstract class and interface and what is difference .please help me
How do you define social class?
what is the advantage in software? what is the difference between the software developer and Engineer
Why is polymorphism used?
What is object and class in oops?