Answer the following statements true (T) or false (F)

1. A data type must be specified for a method name.
2. A default constructor can perform memory allocation.
3. A data type for a return value must be specified in the method heading.
4. A driver program can cause instances of classes to be created during processing.
5. A public method is part of the internal interface of a program.

1. false
2. true
3. true
4. true
5. false

Computer Science & Information Technology

You might also like to view...

In Internet Explorer 8.0, where do you type a URL?

A) In the Title bar B) In the Address bar C) In the Google Search box D) In the Name box

Computer Science & Information Technology

What is a constant?

What will be an ideal response?

Computer Science & Information Technology