A top software consulting is looking for Java developers. There are multiple open positions like Java Developers, Senior Java Developers, Technical Leads and Architects. Candidates who have strong knowledge in Java and in one or more of the following skills can apply:
Struts
Spring
Hibernate
Web services
JSP
EJB
Application servers like Weblogic or Websphere or JBoss.
Databases like Oracle or DB2.
Design tools like Rational Software Architect or Enterprise Architect.
Good knowledge in design patterns.
Version control systems like Clearcase or Subversion.
Company Information
The company is one of the top 4 software consulting companies in US with over 56,000 employees and offices in 87 cities. The company provides very good pay package and benefits. For those who are on H1, the company will transfer H1.
Note: I am an employee of the company and your profile will be submitted as an internal referral.
== is used to check whether the references are of the same object. .equals() is used to check whether the contents of the objects are the same. But with respect to strings, object refernce with same content will refer to the same object. String str1="Hello"; String str2="Hello";
(str1==str2) and str1.equals(str2) both will be true. If you take the same example with Stringbuffer, the results would be different. Stringbuffer str1="Hello"; Stringbuffer str2="Hello";
str1.equals(str2) will be true. str1==str2 will be false.
No. It cannot be instantited. The class is final and its constructor is private. But all the methods are static, so we can use them without instantiating the Math class.
It simply returns the absolute value of the value supplied to the method, i.e. gives you the same value. If you supply negative value it simply removes the sign.