what are the uses of Class class and what it returns?
explain it with the example code.
Answer / santhosh kv
we can use class "Class" for dynamic class loading.
ie Class.forName("classname");
| Is This Answer Correct ? | 3 Yes | 0 No |
When arithmeticexception is thrown?
What are the methods to rectify ambiguities in the interfaces in JAVA?
How to make object serializable in java?
what is the difference between @include page and @include file
what do you mean by classloader?
What is the inheritance?
There are 2 classes, 1 LandAnimal and another WaterAnimal. There is another class Animal which wants to have the properties of both LandAnimal and WaterAnimal. How will you design this situation?
What is ternary operator?
How do you set security in applets?
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)
What is a string what operation can be performed out with the help of a string?
What is the Vector class?