What is a pure virtual function?
Answers were Sorted based on User's Feedback
Answer / nashiinformaticssolutions
• A function declared with = 0 in a base class, making it abstract. Example:
• virtual void display() = 0;
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / glibwaresoftsolutions
• A function declared with = 0 in a base class, making it abstract. Example:
• virtual void display() = 0;
| Is This Answer Correct ? | 0 Yes | 0 No |
• A function declared with = 0 in a base class, making it abstract. Example:
• virtual void display() = 0;
| Is This Answer Correct ? | 0 Yes | 0 No |
Is it possible to provide method implementations in java interfaces? If possible, how do we provide them?
Differentiate between overloading and overriding.
USECASE is an implementation independent notation. How will the designer give the implementation details of a particular USECASE to the programmer?
What are abstract functions? Why are they used?
Explain about a class?
What is virtual?
Explain what a method is?
Is @functionalinterface annotation mandatory to define a functional interface? What is the use of @functionalinterface annotation? Why do we need functional interfaces in java?
How to resolve many to many relationship?
6 Answers InfoAxon Technologies, Protech, Samsung,
What is inheritance in java?
Can you give some examples of tokens?
What is diamond inheritance problem? How java 8 solves this problem?