Write a method called larger that accepts two floating-point parameters (of type double) and returns true if the first parameter is greater than the second, and false otherwise.

What will be an ideal response?

```
public boolean larger(double num1, double num2)
{
return (num1 > num2);
}

```

Computer Science & Information Technology

You might also like to view...

Which of the following is NOT true about compressing media in a presentation?

A) PowerPoint 2013 has the ability to compress the media in a presentation to various size levels. B) Multimedia objects such as animations, transitions, audio, and video can result in presentations being very large in size. C) Large presentations are often difficult to share with others or store when storage space is limited. D) Presentation Quality should be used when possible to maintain the overall quality while still saving some storage space.

Computer Science & Information Technology

A question mark (?) in a search criteria will allow you to search for multiple characters in the field

Indicate whether the statement is true or false

Computer Science & Information Technology