Home / MCQ Bank / Computer
Computer Interfaces And Abstract Classes Difficulty: Medium

What type of methods an interface contain by default?

Select the correct option to test your answer:

More Computer Questions

What will be the output of the following Python code? a=10 b=20 def change(): global b a=45 b=56 change() print(a) print(b) Consider the following code: #include<stdio.h> int arr[31], len = 0; void recursive_dec_to_bin(int n) { if(n == 0 && len == 0) { arr[len++] = 0; return; } if(n == 0) return; arr[len++] = n % 2; recursive_dec_to_bin(n/2); } Which of the following lines is the base case for the above code? Which is the function used to add the vectors? Which class in C# is used for sending and receiving data over a network stream? What must be specified when we construct an object of class ostream?