Posts

Showing posts from May, 2021

FAQ

      1. HOW TO USE JAVA COMPILER ONLINE MODE?

MCQ

  1. Which of the following option leads to the portability and security of Java? The applet makes the Java code secure and portable Bytecode is executed by JVM Use of exception handling Dynamic binding between objects Ans:  Bytecode is executed by JVM     2. Which of the following is not OOPS concept in Java? Inheritance Encapsulation Polymorphism Compilation Ans: Compilation     3. Which concept of Java is a way of converting real world objects in terms of class? Polymorphism Encapsulation Abstraction Inheritance Ans:  Abstraction     4. Which component is used to compile, debug and execute java program? JVM JDK JIT JRE Ans:JDK     5. What is use of interpreter? They convert bytecode to machine language code They read high level code and execute them They are intermediated between JIT and JVM It is a synonym for JIT Ans:  They read high level code and execute them     6. Which of the following is a valid declaration of an object of class Box? Box obj = new Box(); Box obj = new Box; o

NOTES