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

Does the order of public and static declaration matter in main method?

1029


What are the advantages and disadvantages of reference counting in garbage collection?

972


What are the 2 types of java programs?

1046


What is n in java?

897


Can It is possible to synchronize the constructor of a Java Class?

1032


Is java owned by oracle?

956


What is a lock or purpose of locks in java?

972


Can a constructor have different name than a class name in java?

1084


What’s the difference between callable and runnable?

1022


What is a protected class in java?

937


Can a variable be local and static at the same time?

943


Why method overriding is used?

1020


What does string mean in java?

1039


What value is a variable of the string type automatically initialized?

1050


Should a main method be compulsorily declared in all java classes?

996