Home / MCQ Bank / Computer
Computer Overriding And Overloading

In Java, can a subclass override a private method from its superclass?

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option D • No, private methods are not visible to subclasses

Related Computer Questions

Which collations does this MySQL statement list? SHOW COLLATION LIKE 'utf8%' What method is used to check if a file is writable in Ruby? What will be the output of the following Java code? class output { public static void main(String args[]) { StringBuffer s1 = new StringBuffer("Hello"); s1.setCharAt(1,'x'); System.out.println(s1); } } How many types of insertion are performed in a binary tree? Jumps are made in the jump search algorithm until ______