Java Positions in top Software Consulting Company in US

Multiple Java positions in top Software Consulting Company in US!

 


What is the base class of all classes?

What do you think is the logic behind having a single base class for all classes?

What is the importance of == and equals() method with respect to String object?

Is String a Wrapper Class or not?

How will you find length of a String object?

How many objects are in the memory after the exection of following code segment?
String str1 = "ABC";
String str2 = "XYZ";
String str1 = str1 + str2;

What is the difference between an object and object reference?

What will trim() method of String class do?

What is the use of java.lang.Class class?

What is the possible runtime exception thrown by substring() method?

What is the difference between String and Stringbuffer?

What is the use of Math class?

Can you instantiate Math class?

What will Math.abs() do?

What will Math.ceil() do?

What will Math.floor() do?

What will Math.max() do?

What will Math.min() do?

What will Math.random() do?

comments powered by Disqus