JVM programmer can create an exception or not
Predict the output of the following Java program:
Which of these class is used to read characters in a file?
On applying the left shift operator, <<, on an integer, which bit position are bits lost when they are shifted past?
Is the following statement True or False?: "Servlet classes can declare a constructor with a ServletConfig object as an argument."
Which of these is a method of the ObjectOutput interface used to finalize the output state and clear any buffers?
Which one creates an instance of an array?
public class output{
public static void main(String args[]){
int a=100;
int b=120;
int result=0;
result= (a + ++b)+1;
System.out.println(result);
}
}
Statement1: The process of wrapping or putting up of data in to a single unit class.
Statement2: Keeps data safe from misuse.
The above are the feautures of which OOP concept?
Statement 1- class encapsulate runtime environment
Statement 2- Runtime encapsulate runtime environment
Statement 3- Classloader encapsulate runtime environment