Java - Online Test - Java 8 -


Search Java Test Questions

 223 test questions in repository.

Java - Test Questions on 'java 8' - 4 questions found

Which keyword specify that a variable is effectively final ?Core Java
No Keyword
Both of the above
None of the above

  java  java 8  java8  final  effectively final

Which of the following has been introduced with Java 8 ?Core Java

  java  java8  java 8  String  StringJoiner

Which of the following is wrong for final instance variables ?Core Java
They cannot be changed after initialization
They can be initialized directly within static method
They can be declared and initialized together at the same place
They can be initialized within constructor

  java  final  final variable  java keywords

Which of the following is false for final ?Core Java
Final methods cannot be overriden
Final methods cannot be overloaded
Final classes cannot be subclassed
Final class cannot be abstract

  java  final  java keyword

comments powered by Disqus