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
Write a program to swap two numbers without using third variable in c?
Explain spaghetti programming?
Which control loop is recommended if you have to execute set of statements for fixed number of times?
What is the purpose of 'register' keyword in c language?
What is atoi and atof in c?
What is sizeof return in c?
What are the 5 data types?
code for replace tabs with equivalent number of blanks
What is the difference between a function and a method in c?
why to assign a pointer to null sometimes??how can a pointer we declare get assigned with a garbage value by default???
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.
we called a function and passed something do it we have always passed the "values" of variables to the called function. such functions calles are called a) calls by reference b) calls by value c) calls by zero d) none of the above
What is string length in c?
Write a program to print fibonacci series without using recursion?
Explain what does it mean when a pointer is used in an if statement?