Answer Posted / hr@tgksolutions.com
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
Explain how do you print only part of a string?
Why is c still so popular?
What are the complete rules for header file searching?
What is wild pointer in c?
Create a registration form application by taking the details like username, address, phone number, email with password and confirm password (should be same as password).Ensure that the password is of 8 characters with only numbers and alphabets. Take such details for 3 users and display the details. While taking input password must appear as “****”.
Write a program to reverse a linked list in c.
What is the use of #include in c?
What is n in c?
Write a program, where i have a grid with many cells, how many paths are possible from one point to other desired points.
How can you find out how much memory is available?
Is c is a low level language?
What are the functions to open and close the file in c language?
Write a code to generate a series where the next element is the sum of last k terms.
write an algorithm to display a square matrix.
Program to find the sum of digits of a given number until the sum becomes a single digit. (e.g. 12345=>1+2+3+4+5=15=>1+5=6)