Question: 1. What is the name given to a method that can be called using the name of its class, rather than an object reference, as

1. What is the name given to a method that can be called using the name of its class, rather than an object reference, as a qualifier (for example, Math.round(...))?

a) a static method

b) a class method

c) Both of the above

d) None of the above

e) This is not possible in Java

2. Which of the following is the name of a data type in Java? Mark all that apply. (Recall that every variable is declared using a data type to specify the kind of information that can be stored in the variable.)

a) char

b) String

c) float

d) class

e) for

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!