damiilare3219 damiilare3219
  • 03-07-2019
  • Computers and Technology
contestada

Methods used with object instantiations are called ____ methods.

a.
accessor

b.
instance

c.
internal

d.
static

Respuesta :

Branta Branta
  • 11-07-2019

Answer:

b. instance

Explanation:

Methods used with object instantiations are the instance methods. When a class is instantiated we get a reference to the object. Invoking a method on the object , executes the corresponding instance method.

For example:

String s = new String("test");

int len = s.length();

Here length() is an instance method of String object s.

Answer Link

Otras preguntas

If (3+y)/y=7, then y= Please help :)
How is the ecological system organized?
Patrick ate 3/5 of a small pizza on Friday night. For lunch on Saturday , he ate 1/2 of the leftover pizza. How much pizza did he eat for lunch on Saturday?
Which sentence correctly forms the plural of the letter c?   A.How many c's are in accordion?   B.How many cs'
a swimming pool holds 375,000 liters of water. two large hoses are used to fill the pool. the first hose fills at a rate of 1500 liters per hour and the second
An astronaut who weighs 126lb on Earth weighs only21lb on the moon. How much would a person who weights 31lb on the moon weigh on Earth?
Alison wants to find out how much time people spend reading books. She is going to use a questionnaire. Design a suitable question for Alison to use in her ques
Given that 500w = 3 * 700, find the value of w.
what is greater 0.7 or 7/9?
what religion did mansa musa of mali help spread