Java Objective Multiple Answer Questions Bank
http://ingenuitydias.blogspot.com/2016/09/java-objective-multiple-answer.html
We have chosen Java Oracle J2EE, J2SE, Net-beans, JVM ( Java Virtual Machine ) as our readers choice.We have created Objective Type Multiple Answer Question Collection that are frequent in job interviews. Our readers will find these helpful.We encourage our Readers to send in their suggestion.
If readers want to add something or explain the answers please send us mail at info@ingenuitydias.com mentioning Question number.If you think some answers are not suitable please lets know.We will do our best to enhance content quality on our Blog.
Java Question Bank
Embedded Systems for Engineers
Embedded Electronics
C Programming Interview Questions
1. In java, gc() method is available in which package
Answer: 1
2. JAR file contains the compressed version of
Answer: 2
3. Process of creating exact copy of the existing object is called
Answer: 1
4. Which is the predefined package
Answer: 1
5. Which among following classes is not part of Java's collection framework
Answer: 1
6. Which command is used for interpretation of java program
Answer: 1
7. What is meaning of jar
Answer: 1
8. Which of the following command is used to compile the Java program
Answer: 2
9. What do you mean by javap
Answer: 3
10. Hot java is
Answer: 2
11. Java is known as _______stage language
Answer: 2
12. Which driver is called as thin-driver in JDBC
Answer: 4
13. How many transaction isolation levels are defined in java.sql. Connection interface
Answer: 3
14. Which method of java is invoked by JVM to reclaim the inaccessible memory location
Answer: 3
15. ____ allows java code to run in the JVM to call and be called by native applications
Answer: 2
16. Interfaces helps in which type of inheritance
Answer: 1
17. If nested try is possible
Answer: 1
18. Applet always executed on
Answer: 1
19. Which method of the Applet class displays the result of applet code on screen
Answer: 2
20. There is no default transaction attribute for an EJB
False
True
Answer: 2
21. Which command disassembles a class file
Answer: 4
22. The inner class can access private members of the outer class
Answer: 2
23. In which we clone the object and their constituent parts
Answer: 2
24. Private Constructors can't be access from any derived classes neither from another class
Answer: 1
25. Which driver is efficient and always preferable for using JDBC applications
Answer: 1
26. Executable applet is
Answer: 4
27. Which keyword is used while using interface
Answer: 2
28. Which keyword represents object of the present class
Answer: 3
29. Which method can't be overridden
Answer: 3
30. what is jdb
java compiler
java Interpreter
java Disassemble
java debugger
Answer: 4
31. javah stands for
Answer: 4
32. Main method parameter has which type of data type
Answer: 3
33. How many keywords are available in java
Answer: 3
34. Smallest individual unit in java program is known as
Answer: 3
35. Java intermediate code is known as
Answer: 3
If readers want to add something or explain the answers please send us mail at info@ingenuitydias.com mentioning Question number.If you think some answers are not suitable please lets know.We will do our best to enhance content quality on our Blog.
Java Question Bank
Embedded Systems for Engineers
Embedded Electronics
C Programming Interview Questions
1. In java, gc() method is available in which package
- java.lang package
- java.util package
- java.awt package
- java.io package
Answer: 1
2. JAR file contains the compressed version of
- .java file
- .class file
- .jsp file
- None of above
Answer: 2
3. Process of creating exact copy of the existing object is called
- cloning
- overloading
- overriding
- coping
Answer: 1
4. Which is the predefined package
- Lang package
- io package
- util package
- All of above
Answer: 1
5. Which among following classes is not part of Java's collection framework
- Queue
- Array
- Stack
- Maps
Answer: 1
6. Which command is used for interpretation of java program
- Java
- javac
- javap
- none of above
Answer: 1
7. What is meaning of jar
- java archived
- java array
- java architecture
- none of these
Answer: 1
8. Which of the following command is used to compile the Java program
- java
- javac
- javap
- none of these
Answer: 2
9. What do you mean by javap
- java compiler
- java Interpreter
- java Disassemble
- java debugger
Answer: 3
10. Hot java is
- System software
- Web browser
- IDE
- Java environment
Answer: 2
11. Java is known as _______stage language
- One
- Two
- Three
- Four
Answer: 2
12. Which driver is called as thin-driver in JDBC
- Type-1 driver
- Type-2 driver
- Type-3 driver
- Type-4 driver
Answer: 4
13. How many transaction isolation levels are defined in java.sql. Connection interface
- 4
- 3
- 5
- 2
Answer: 3
14. Which method of java is invoked by JVM to reclaim the inaccessible memory location
- reclaim() method
- final() method
- finalize() method
- both b and c
Answer: 3
15. ____ allows java code to run in the JVM to call and be called by native applications
- JFI
- JNI
- NJI
- FJI
Answer: 2
16. Interfaces helps in which type of inheritance
- Multiple inheritance
- Multilevel inheritance
- Hierarchical inheritance
- None of above
Answer: 1
17. If nested try is possible
- Yes
- No
Answer: 1
18. Applet always executed on
- Client side
- Server Side
Answer: 1
19. Which method of the Applet class displays the result of applet code on screen
- run() method
- paint() method
- drawString() method
- main() method
Answer: 2
20. There is no default transaction attribute for an EJB
False
True
Answer: 2
21. Which command disassembles a class file
- javaamd
- javacmd
- java
- javap
Answer: 4
22. The inner class can access private members of the outer class
- False
- True
Answer: 2
23. In which we clone the object and their constituent parts
- Shallow cloning
- Deep cloning
- Both of above
- None of above
Answer: 2
24. Private Constructors can't be access from any derived classes neither from another class
- True
- False
Answer: 1
25. Which driver is efficient and always preferable for using JDBC applications
- Type-4 driver
- Type-3 driver
- Type-2 driver
- Type-1 driver
Answer: 1
26. Executable applet is
- .applet file
- .java html
- .java file
- .class file
Answer: 4
27. Which keyword is used while using interface
- extend
- implements
- throw
- throws
Answer: 2
28. Which keyword represents object of the present class
- interface
- package
- this
- static
Answer: 3
29. Which method can't be overridden
- super
- static
- final
- println
Answer: 3
30. what is jdb
java compiler
java Interpreter
java Disassemble
java debugger
Answer: 4
31. javah stands for
- java compiler
- java interpreter
- java dissasamebler
- java header file
Answer: 4
32. Main method parameter has which type of data type
- int
- char
- string
- double
Answer: 3
33. How many keywords are available in java
- 35
- 55
- 48
- 130
Answer: 3
34. Smallest individual unit in java program is known as
- string
- literal
- token
- operator
Answer: 3
35. Java intermediate code is known as
- First code
- Mid code
- Byte code
- None of above
Answer: 3