ThePrismSolutions

ThePrismSolutions

Practice(TEST 2)

1 ) Select from among the following character escape code which is not available in Java.





2 .) In java, ............ can only test for equality, where as .......... can evaluate any type of the Boolean expression.





3 .) Which of the following for loops will be an infinite loop?





4 .) Which of the following class definitions defines a legal abstract class?





5 .) Which of the following declares an abstract method in an abstract Java class?





6 .) Which of the following statements regarding abstract classes are true?





7 .) Which of the following is a correct interface?





8. In Java, declaring a class abstract is useful





9 .) Runnable is a _____ .





10 .) The class at the top of exception class hierarchy is .................