What is java ceil?



What is java ceil?..

Answer / Jyoti Shukla

The Math.ceil() function in Java is a static method of the Math class that returns the smallest integer not less than the argument. It rounds a double value up to the nearest integer towards positive infinity.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

What is the is a and has a relation ship in oops concept in java?

9 Answers   BearingPoint, TCS,


What’s meant by anonymous class?

1 Answers  


What is the use of pattern in java?

1 Answers  


Why stringbuilder is not thread safe?

1 Answers  


Is there any way to find whether software installed in the system is registered by just providing the .exe file? I have tried the following code but its just displaying the directory structure in the registry. Here the code : package com.msi.intaller; import java.util.Iterator; import ca.beq.util.win32.registry.RegistryKey; import ca.beq.util.win32.registry.RootKey; public class RegistryFinder { public static void main(String... args) throws Exception { RegistryKey.initialize(RegistryFinder.class.getResource("jRe gistryKey.dll").getFile()); RegistryKey key = new RegistryKey(RootKey.HKLM, "Software\\ODBC"); for (Iterator<RegistryKey> subkeys = key.subkeys(); subkeys.hasNext();) { RegistryKey subkey = subkeys.next(); System.out.println(subkey.getName()); // You need to check here if there's anything which matches "Mozilla FireFox". } } }

1 Answers   Google,


Enlist few advantages of inheritance?

1 Answers  


. Define Copy Constructor in Java

1 Answers  


Why are variables important in research?

1 Answers  


Does java return by reference?

1 Answers  


Is int a class in java?

1 Answers  


Which is the best approach for creating thread ?

1 Answers  


Tell some latest versions in JAVA related areas?

1 Answers  


Categories