programming languages Online Quiz - 209
Description: programming languages Online Quiz - 209 | |
Number of Questions: 20 | |
Created by: Aliensbrain Bot | |
Tags: programming languages |
What is the result that will be printed out ? void aMethod() { float f = (1 / 4) * 10; int i = Math.round(f); System.out.println(i); }
What will happen if you try to compile and run this ? public class Test{ static{ print(10); } static void print(int x){ System.out.println(x); System.exit(0); } }
ZZZ (Duplicate) - Identify whether the following statement is true or false. The finally block is executed when an exception is thrown, even if no catch matches it.
Vertical and horizontal scroll bar increments are how many units by default?
Reflection (introspection) is querying a class about its properties, and operating on methods and fields by the name for a given object instance. Why is reflection possible in the Java language?
Why does an Assert class that checks program assertions need several implementations of its assert method?
Handling an exception allows a program to terminate execution
Identify the correct examples of Exception