What are the concepts introduced in OOPs?
Answers were Sorted based on User's Feedback
Answer / nashiinformaticssolutions
An object is a physical thing with a specific state and behavior. It can be described as a class instance.
A class is a logical entity that specifies the blueprint that may be used to generate or instantiate an object.
An object acquiring all of its parent object's characteristics and actions is referred to as inheritance. It offers the possibility to reuse code.
The idea of polymorphism permits a task to be carried out in various ways. To accomplish polymorphism in Java, we employ method overloading and overriding.
Abstraction is a notion that only displays an application's functionality while concealing its internal workings. Java achieves abstraction through the usage of abstract classes and interfaces.
Encapsulation is a term that describes how data and code are wrapped together into
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / glibwaresoftsolutions
An object is a physical thing with a specific state and behavior. It can be described as a class instance.
A class is a logical entity that specifies the blueprint that may be used to generate or instantiate an object.
An object acquiring all of its parent object's characteristics and actions is referred to as inheritance. It offers the possibility to reuse code.
The idea of polymorphism permits a task to be carried out in various ways. To accomplish polymorphism in Java, we employ method overloading and overriding.
Abstraction is a notion that only displays an application's functionality while concealing its internal workings. Java achieves abstraction through the usage of abstract classes and interfaces.
Encapsulation is a term that describes how data and code are wrapped together into
| Is This Answer Correct ? | 0 Yes | 0 No |
An object is a physical thing with a specific state and behavior. It can be described as a class instance.
A class is a logical entity that specifies the blueprint that may be used to generate or instantiate an object.
An object acquiring all of its parent object's characteristics and actions is referred to as inheritance. It offers the possibility to reuse code.
The idea of polymorphism permits a task to be carried out in various ways. To accomplish polymorphism in Java, we employ method overloading and overriding.
Abstraction is a notion that only displays an application's functionality while concealing its internal workings. Java achieves abstraction through the usage of abstract classes and interfaces.
Encapsulation is a term that describes how data and code are wrapped together into
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the difference between the local variable and global variable in c?
How does pointer work in c?
What is use of #include in c?
int i=0,j; j=++i + ++i ++i; printf(" %d",j);
How can I write a function that takes a format string and a variable number of arguments?
Explain union. What are its advantages?
How do you write a program which produces its own source code as its output?
Write a program to implement a round robin scheduler and calculate the average waiting time.Arrival time, burst time, time quantum, and no. of processes should be the inputs.
write a program to find the frequency of a number
which is an algorithm for sorting in a growing Lexicographic order
If we have an array of Interger values, find out a sub array which has a maximum value of the array and start and end positions of the array..The sub array must be contiguious. Take the start add to be 4000. For Ex if we have an array arr[] = {-1,-2,-5,9,4,3,-6,8,7,6,5,-3} here the sub array of max would be {8,7,6,5} coz the sum of max contiguous array is 8+7+6+5 = 26.The start and end position is 4014(8) and 4020(5).
5 Answers Microsoft, Motorola,
#include<stdio.h> int f(int,int); int main() { printf("%d",f(20,1)); return 0; } int f(int n,int k) { if(n==0) return 0; else if(n%2)return f(n/2,2*k)+k; else return f(n/2,2*k)-k; } how this program is working and generating output as 9....?