My interview asked what is dynamic variable in java and
where we use them.
Answers were Sorted based on User's Feedback
Answer / lakshmikanth
Dynamic variable is a variable created/assigned by the
compiler during the run/compilation time.
| Is This Answer Correct ? | 9 Yes | 2 No |
Answer / nishant kumar
Dynamic variable is a variable than is declear before the compile and assigned the value at the run time.
| Is This Answer Correct ? | 2 Yes | 0 No |
What is formatted output?
How can an exception be thrown manually by a programmer?
Write an algorithm program in java for the following question.. 1) S is a set of integers.X is an integer obtained by sum of two digits in S. Write logic for whether or not the X is from the S. The time of algorithm should not exceed o(n logn).
What is the GregorianCalendar class?
Is hashmap thread safe?
what should do when using multiple catch() block & what should never do for the same?
Is java a pure object oriented language?
What is difference between variable declaration and definition?
How will you serialize a singleton class without violating singleton pattern?
INTERVIEW QUESTION FOR ANDROID
Difference between keyword and identifier.
perpare on factorypattern,linklist wothout using collection, (multitharding ie create producer/customer therad producer create Queue continuesly,consumer consume queue, consumer wait if queue is full,producer wait if queue is empty),diff betn sleep(1000)&wait(1000) these r the main Q ask in huawei(2008)