Home / MCQ Bank / Computer
Computer Overriding And Overloading

Which of these keywords can be used to prevent Method overriding?

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option D • final

Related Computer Questions

What will be the output of the following C code? #include <stdio.h> struct p { int x; char y; }; int main() { struct p p1[] = {1, 92, 3, 94, 5, 96}; struct p *ptr1 = p1; int x = (sizeof(p1) / sizeof(struct p)); printf("%d %d\n", ptr1->x, (ptr1 + x - 1)->x); } What is the purpose of the BasicObject class in Ruby? What is the purpose of the function eval? What does the gem yank gem_name --version version_number command do in Ruby? PDA stands for