3:53 pm - Sunday March 25, 3184

Float Example program for isInfinite(float v)

CANDID INDUSTRIAL TRAINING -- CHENNAI
Corporate Training for Experienced Candidate
Struts | Hibernate | Spring | Java / J2EE
SOAP | RestFull | Design Pattern | more...
Ph: +91 72000 69003
137b, 2nd st, shanthi nagar, Chrompet, Chennai -600044
/**
Author :candidjava.com
Description:Returns true if the specified number is infinitely large in magnitude, false otherwise.
*/
import java.io.*;
import java.lang.*;
import java.io.IOException;
class isInfiniteExample
{
public static void main(String args[])throws IOException
{
boolean v =Float. isInfinite (55.5f);
System.out.println(v);
}
}

OutPut
False.

BACK

Filed in: Z-A All Java Codes

Comments are closed.