Which is the correct way to define a function named getAge()?

a. function getAge()
{ body of function }
b. getAge = new function
c. getAge()
{ body of function }
d. new function getAge()
{ body of function }


a. function getAge()
{ body of function }

Computer Science & Information Technology

You might also like to view...

________ testing involves releasing new software to a limited group of users for error testing

Fill in the blank(s) with correct word

Computer Science & Information Technology

A(n) ________ path is a predetermined path that an object follows as part of an animation

Fill in the blank(s) with correct word

Computer Science & Information Technology

You can ________ a video to make it shorter

A) trim B) clip C) crop D) splice

Computer Science & Information Technology

When you format a disk, this process divides the disk into small sections called tracks and ____ for the storage of files by a particular file system.

A. blocks B. sections C. partitions D. sectors

Computer Science & Information Technology