An expression such as str.length(); is an example of a(n) ____.

A. system call
B. object call
C. class
D. method call


Answer: D

Computer Science & Information Technology

You might also like to view...

Which operation will retrieve the item at position i in anArray?

A. anArray[i] = val; B. val[i] = anArray[i]; C. val = anArray[i]; D. i[val] = anArray;

Computer Science & Information Technology

To create an e-mail link, you select the text or image that you want visitors to click, andthen format the selection as a ____.

A. document B. form C. hyperlink D. CSS style sheet

Computer Science & Information Technology

What is output by the following C# code segment?

``` int temp = 180; while (temp != 80) { if (temp > 90) { Console.Write("This porridge is too hot! "); // cool down temp = temp – (temp > 150 ? 100 : 20); } else { if (temp < 70) { Console.Write("This porridge is too cold! "); // warm up temp = temp + (temp < 50 ? 30 : 20); } } } if (temp == 80) { Console.WriteLine("This porridge is just right!"); } ``` a) This porridge is too cold! This porridge is just right! b) This porridge is too hot! This porridge is just right! c) This porridge is just right! d) None of the above.

Computer Science & Information Technology

The ability to scale cloud computing resources quickly to meet peak demand and just as quickly remove resources if they are not currently needed.

A. rapid elasticity B. rubberbanding C. force shaping D. virtualization

Computer Science & Information Technology