Answer Posted / 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 |
Post New Answer View All Answers
Tell me what is the purpose of 'register' keyword in c language?
How do c compilers work?
What would the following code segment printint k = 8;docout << "k = " << k << " ";while k++ < 5; a) 13 b) 5 c) 8 d) pointers
what is the difference between 123 and 0123 in c?
Why does notstrcat(string, "!");Work?
What are the properties of union in c?
What is the difference between formatted&unformatted i/o functions?
Explain how many levels deep can include files be nested?
What are high level languages like C and FORTRAN also known as?
Is sizeof a keyword in c?
What is p in text message?
When I set a float variable to, say, 3.1, why is printf printing it as 3.0999999?
Write a program to swap two numbers without using third variable in c?
Why use int main instead of void main?
What will the code below print when it is executed? int x = 3, y = 4; if (x = 4) y = 5; else y = 2; printf ("x=%d, y=%d ",x,y);