| Other Core Java Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| Why const and goto are reserved keyword in java? | | 1 |
| Name the types of 'priority'? | | 2 |
| Can a for statement loop indefinitely? | | 3 |
| 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) | Huawei | 1 |
| What is exception and error? and what is the difference
between them? | | 2 |
| write a simple program inheritance? | Polaris | 1 |
| What is a Wrapper class? | | 3 |
| How can final class be used? | Wipro | 2 |
| for what purpose we use applets ? | Mindlogicx | 2 |
| Can you explain the difference b/n abtract and interface
with a good example,?In what cases we have use abtract and
what case interface? | Satyam | 1 |
| what is the difference between abstract class and
Interface?where we can use it in realtime projects? | Logica-CMG | 10 |
| What is the method used to get the absolute value of a
number? | | 2 |
| Which are thin and thicK wrapper Class's in Java? | | 1 |
| class A{
m2(){
}
}
class B extends A{
m2(){
}
}
class c extends B{
m2(){
}
}
class my_class extends c{
m2(){
}
pulic static void main(){
...My_class a = new my_class();
super.super.super.m2(); is this is leagal
if not find what is the legal procedure in order to call A's
version of m2();
}
| Logica-CMG | 7 |
| What is Ideal Design of Class? | | 2 |
| What is file class and what is its purpose? | | 1 |
| Which Math method is used to calculate the absolute value of
a number? | Accenture | 3 |
| Hi buddy, well i got that there is always a default
constructor with abstract class. OK. But why not with interface?
Thanks in advance. | | 1 |
| Keywords in Exceptions? | | 1 |
| Hi,
This is ravi i have a question like this i have string
"UNDERSTAND" now i want to count the letters how many times
it occures.i.e from the above string the out put should be
like this U-1,N-2,D-2,E-1,R-1,S-1,T-1,A-1.
how can i achieve this
Thnaks in advance for your response .. | | 3 |
| |
| For more Core Java Interview Questions Click Here |