Home / MCQ Bank / Computer
Computer Inheritence Difficulty: Medium

What is the difference between "extends" and "implements" in Java?

Select the correct option to test your answer:

More Computer Questions

What will be the value stored in arr[5] when the following code is executed? #include<stdio.h> int cat_number(int n) { int i,j,arr[n],k; arr[0] = 1; for(i = 1; i < n; i++) { arr[i] = 0; for(j = 0,k = i - 1; j < i; j++,k--) arr[i] += arr[j] * arr[k]; } return arr[n-1]; } int main() { int ans, n = 10; ans = cat_number(n); printf("%d\n",ans); return 0; } What is the purpose of the include keyword in Ruby classes? Which of the following return a subset of the columns of a data frame? Which of the following font-weight property make the text lighter in relation to its parent? We want to declare x, y and z as pointers of type int. The alias name given is: intpt The correct way to do this using the keyword typedef is: