Originally posted by leandro oliveira:
but does it explains why the following is not true???
(""+ch).equals(new StringBuffer("").append(ch))==false;
(i did not understand)
Compares this string to the specified object. The result is true if and only if the argument is not null and is a String object that represents the same sequence of characters as this object.
Originally posted by Gurucharan Murudeshwar:
Hello All,
Generally, we use the static methods by saying
someObj.thatStaticMethod();
But here, the instantiation itself triggers the println line.
Originally posted by leandro oliveira:
ok!!! so I can't define an abstract method to be strictfp!!! but by declaring the abstract class or interface as srictfp only the variables will be strictfp!!! and none of the abstract methods will be strictfp!!! (is this true???)
when you declare a strictfp class, all the methods, that are implemented,and variables in it will be strictfp!! (is it true???)