Home / MCQ Bank / Computer
Computer Introduction To C Plus Plus

Which of the following is used to make an abstract class?

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option D • By declaring a pure virtual function in a class

Related Computer Questions

What is the purpose of the toLowerCase() method of a String object in Java? What will be the output of the following Java code? class array_output { public static void main(String args[]) { int array_variable[][] = {{ 1, 2, 3}, { 4 , 5, 6}, { 7, 8, 9}}; int sum = 0; for (int i = 0; i < 3; ++i) for (int j = 0; j < 3 ; ++j) sum = sum + array_variable[i][j]; System.out.print(sum / 5); } } Which of these class is superclass of every class in Java? What will be the output of the following Java program? (Note: file is made in c drive.) import java.io.*; class files { public static void main(String args[]) { File obj = new File("/java/system"); System.out.print(obj.canWrite()); System.out.print(" " + obj.canRead()); } } What is the purpose of NiFi's "Remote Process Group"?