Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Fundamentals Of Database Management Systems

Authors: Mark L. Gillenson

2nd Edition

0470624701, 978-0470624708

More Books

Students also viewed these Databases questions

Question

identify the main ways in which you learn

Answered: 1 week ago