Question: Questions are based on JAVA: 1. Which of the following statements is true concerning a class. Select one: In a class, fields can ONLY be

Questions are based on JAVA:

1. Which of the following statements is true concerning a class.

Select one:

In a class, fields can ONLY be user-defined types

In a class, fields can ONLY be primitive data types or existing java types (From existing java classes)

In a class, fields can be primitive data types, existing java types, or user-defined types

In a class, fields can ONLY be primitive data types such as int , float , etc

2. Which of the following statements are false about classes?

A. a concrete class does not have to define all of the abstract methods that it inherits from an abstract class.

B. a final class can have instances

C. a final class can be extended.

D. a final class can be implemented

E. an abstract class cannot be inherited

F. an abstract class can be extended

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!