Question discussion

Which of the following statements is FALSE?

3092Easy DSSSB TGT Computer Science 0 replies

Which of the following statements is FALSE?

  • AFinal methods can be overridden.
  • B“static public void main(String…abcd){}” is a valid statement.
  • CAbstract classes cannot be instantiated.
  • DInterface allows default method definitions.
Correct answer: A

Explanation

A method declared final cannot be overridden, so statement 1 is false.

Discussion 0

Nobody has replied yet. Start the discussion!