JAVA LANG PACKAGE INTERVIEW QUESTIONS AND ANSWERS.pdf ...
Recommend Documents
30 Java Interview Questions. * Q1. How could Java classes direct program
messages to the system console, but error messages, say to a file? A. The class ...
How does Java handle integer overflows and underflows? It uses those low ...
Which java.util classes and interfaces support event handling? The EventObject ...
Interview Questions in Core Java ..... How are Java source code files named? A
Java source code file takes the name of a public class or interface that is defined
...
JAVA COLLECTIONS INTERVIEW QUESTIONS AND ANSWERS.pdf. JAVA COLLECTIONS INTERVIEW QUESTIONS AND ANSWERS.pdf. Open. Extrac
1. What is Hibernate? Hibernate is a powerful, high performance object/relational
persistence and query service. This lets the users to develop persistent classes ...
When does the compiler supply a default constructor for a class? ...... Can you load the server object dynamically? If s
Telephone Interviewing Tips. The goal you want to accomplish during a
telephone interview is to receive an invitation for an on-site interview. • Conduct
your ...
Top 500 Java Interview Questions and Answers.pdf. Top 500 Java Interview Questions and Answers.pdf. Open. Extract. Open
believes you have the basic skills and experience required for the job; ...
Memorizing good answers to typical interview questions isn't enough preparation
.
BEHAVIORAL BASED QUESTION BANK. Professionalism. 1. Tell me about a
work situation that irritated you. 2. Which of your previous jobs was the most ...
... software giant is positioning its wares for cloud computing with software and services The ... Download Best Book Co
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to op
Tough Interview Questions and Answers by Candace Davies. Equipped with a
stunning resume, you are ready to secure that perfect teaching position. Now it.
I played piano and Lute. ... I haven't done any music and I do troublemaking. ...
rock, so The Beatles, Cat Steven and this piece ”Ding Dong” with Praetorius they
...
1 of 13. Part - I. SQL Interview Questions. 1. Display the dept information from
department table. select * from dept;. 2. Display the details of all employees.
Job Interview Questions. Question 1 (C#). What is the console output of the
following program? Answers: 1. 0, 1, 1, 0, 1, ... Question 2 (Java). What is the
console ...
http://www.amazon.co.uk/Software-Testing-Interview-Shivprasad-. Koirala/dp/
8183332366/ref=sr_1_2?ie=UTF8&s=books&qid=1196215846&sr=1-2. ( This is
a ...
An interview provides the hiring manager a perfect opportunity to identify the ...
Explain that you will be making a decision within the next ____ days/weeks/ ...
Preparation: Review the entire lesson, including the learning object Tips for Effective. Interviews and the Q & A an
candidate's past behavior is the best predictor of future performance. The interviewer is looking for examples from your
The interview is just one assessment tool to help you make a final hiring ... on the
basis of your selection criteria, the following compilation of questions will.
Sample Interview Questions. Questions about Research: 1. Could you tell us
about your dissertation? 2. Tell us briefly about the theoretical framework you
used ...
Sample Interview Questions. 1. What attracted you to this position? 2. How will
your past work experience contribute to our office? 3. Tell me about a recent ...
JAVA LANG PACKAGE INTERVIEW QUESTIONS AND ANSWERS.pdf ...
JAVA LANG PACKAGE INTERVIEW QUESTIONS AND ANSWERS.pdf. JAVA LANG PACKAGE INTERVIEW QUESTIONS AND ANSWERS.pdf. Open. Extr
www.sbabamca.wordpress.com JAVA LANG PACKAGE INTERVIEW QUESTIONS AND ANSWERS
1) What is the base class of all classes? java.lang.Object 2) What do you think is the logic behind having a single base class for all classes? 1. casting 2. Hierarchial and object oriented structure. 3) Why most of the Thread functionality is specified in Object Class? Basically for interthread communication. 4) What is the importance of == and equals() method with respect to String object? == 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. 5) Is String a Wrapper Class or not? No. String is not a Wrapper class. 6) How will you find length of a String object? Using length() method of String class. 7) How many objects are in the memory after the exection of following code segment? String str1 = "ABC"; String str2 = "XYZ"; String str1 = str1 + str2; There are 3 Objects. 8) What is the difference between an object and object reference? An object is an instance of a class. Object reference is a pointer to the object. There can be many refernces to the same object. www.sbabamca.wordpress.com
www.sbabamca.wordpress.com
9) What will trim() method of String class do? trim() eliminate spaces from both the ends of a string.*** 10) What is the use of java.lang.Class class? The java.lang.Class class is used to represent the classes and interfaces that are loaded by a java program. 11) What is the possible runtime exception thrown by substring() method? ArrayIndexOutOfBoundsException. 12) What is the difference between String and Stringbuffer? Object's of String class is immutable and object's of Stringbuffer class is mutable moreover stringbuffer is faster in concatenation. 13) What is the use of Math class? Math class provide methods for mathametical functions. 14) Can you instantiate Math class? 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. 15) What will Math.abs() do? 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. 16) What will Math.ceil() do? This method returns always double, which is not less than the supplied value. It returns next available whole number 17) What will Math.floor() do? This method returns always double, which is not greater than the supplied value. 18) What will Math.max() do? The max() method returns greater value out of the supplied values. 19) What will Math.min() do? The min() method returns smaller value out of the supplied values. 20) What will Math.random() do? The random() method returns random number between 0.0 and 1.0. It always returns double.