Which of the following statements is/are TRUE regarding JAVA ?

(a) Constants that cannot be changed are declared using the ‘static’ keyword.

(b) A class can only inherit one class but can implement multiple interfaces.

1
Only (a) is TRUE
2
Only (b) is TRUE.
3
Both (a) and (b)are TRUE
4
Neither (a) nor (b) is TRUE

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation