| Other Core Java Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| How can final class be used? | Wipro | 2 |
| Difference between Reader/Writer and InputStream/Output
Stream? | Kirusa | 4 |
| Can u write constructor in abstract.If yes den when it will
be invoked. | SunGard | 3 |
| Which class is extended by all other classes? | | 2 |
| Hi buddy, well i got that there is always a default
constructor with abstract class. OK. But why not with interface?
Thanks in advance. | | 2 |
| Which class has no duplicate elements? | | 8 |
| What is the use of ?this?? | | 4 |
| What is the difference between throw and throws?
What is the similarity between try and throw? | | 2 |
| If set accepts only one argument then how can it compare
two objects to avoid duplicates | | 3 |
| How are Observer and Observable used? | | 2 |
| What is the purpose of setAutoCommit() ? | Google | 1 |
| Write a program to create a binary Tree ? | | 1 |
| how to call a method in different package? | | 4 |
| What is the purpose of the finally clause? | | 3 |
| wHAT IS DEFAULT SPECIFIER IN JAVA
wHAT IS DEFAULT CONSTRUCTOR IN JAVA
wHAT IS DEFAULT METHOD IN JAVA | IBM | 10 |
| 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 | 8 |
| Why would you desing a J2EE application so user data is
entered by way of a JSP page and managed by an underlying
Java Beans class? | Adobe | 3 |
| I have one POJO class(Java bean class), it has two
variables for that it has setters and getters. Now i have
created two objects for that class and i have set the data
for those variables through this two objects. Now question
is i want check whether those two objects have same data or
not, for this write a program? Thanks, Bose. | Oracle | 2 |
| Is it compulsory to have atleast one abstract method in
abstract class?
| | 7 |
| write a progam hashmap & hashtable? | IBM | 2 |
| |
| For more Core Java Interview Questions Click Here |