Question: 6. Match the following. a) Java 1) is a tool for debugging java program b) Javah 2) is a tool for creating C-like header files

 6. Match the following. a) Java 1) is a tool for

debugging java program b) Javah 2) is a tool for creating C-like

header files c) Javap 3) runs java bytecode d) jdb 4) prints

java code representation A) a-3, 6-2,0-1 B) a-3, 6-2, C-4, d-1 C)

6. Match the following. a) Java 1) is a tool for debugging java program b) Javah 2) is a tool for creating C-like header files c) Javap 3) runs java bytecode d) jdb 4) prints java code representation A) a-3, 6-2,0-1 B) a-3, 6-2, C-4, d-1 C) a-1, b-2, C-3, d-4 D) a-2, 6-1, C-3, d-4 7. The .................. and .......... classes are abstract classes that support reading and writing of byte streams. A) reader, writer B) inputstream, outputstream C) objectinputstream, objectoutputstream D) none 8. What is the error in the following code? class Test abstract void display(); A) No error B) Method display() should be declared as static C) Test class should be declared as abstract .D) Test class should be declared as public 9.A package is a collection of A) classes B) interfaces C) editing tools D) classes and interfaces 10. Data input is A) an abstract class defined in java.io B) a class we can use to read primitive data types C) an interface that defines methods to open files. D) an interface that defines methods to read primitive data types. 11. Using which keyword we can access the value of the instance variables and class variables of that class inside the method of that class itself. A) super B) final C) this D) D) either super or this 12. In Java, a string is a ... A) primitive data type B) abstract data type C) combination of boolean D) None of the above 13. Each method in a java class must have a unique name. A) Not necessary B) True C) False D) None of the above

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!