Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is the output ? Math.floor(-2.1)
a)2
b)-2
c)-3.0
d)0

Answer Posted / evelin

-2 is the nearest smallest integer to -2.1

Is This Answer Correct ?    2 Yes 15 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the available thread states in a high-level?

959


Why do we need wrapper class?

986


How to instantiate member inner class?

1075


What is mnemonic code?

1013


What does it mean to be immutable?

964


What is java lang string?

980


When do you get classcastexception?

1030


What are the differences between the constructors and methods?

1113


What are the data types supported by java?

1023


What are the two categories of data types in the java programming language?

983


How many bits are used to represent unicode, ascii, utf-16, and utf-8 characters in java programming?

1004


What is bom encoding?

995


What is the difference between jdk, jre, and jvm?

1110


What is thread synchronization in java?

890


What is the purpose of using javap?

1089