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

What is abstract class constructor called?

962


State the difference between creating string as new () and literal.

1050


How many bits is a boolean?

1050


What is protected access modifier?

971


What is == and === in javascript?

1015


What do you mean by inner class in java? Explain

1022


Why to use nested classes in java? (Or) what is the purpose of nested class in java?

1038


Is 0 a prime number?

945


How does the garbage collector works in java?

1058


What is final method?

1023


When should I use singleton pattern?

991


Explain about class in java?

1064


What is thread pool in java with example?

966


How can we avoid including a header more than once?

1001


What do you mean by constructor?

948