| Other Core Java Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| Hi Friends..
can any one provide the real time example for
methodoverloading and methodoverriding ......... | Honeywell | 2 |
|
33. try {
34. // some code here
35. } catch (NullPointerException e1) {
36. System.out.print(”a”);
37. } catch (RuntimeException e2) {
38. System.out.print(”b”);
39. } finally {
40. System.out.print(”c”);
41. }
What is the result if a NullPointerException occurs on line
34?
1 c
2 a
3 ab
4 ac
| | 2 |
| Q1.A. Write note on “The class path Environment Variable”?
B. Which are different kinds of source code?
Q2.A. How to create an interface?
B. Why convert an applet to an application?
Q3.A. How to use Media tracker Class.
B. How to use string tokenizer class.
Q4 A. Explain the overview of UDP messaging.
B. Difference between SQL Exception class and SQL
Warning class.
Q5. A. How to create com object in Java?
B. Write short notes on “The properties class”
Q6. A. When object is created and destroyed?
B. Explain the JDB in depth & command line.
C. Write short notes on Web Sites.
| iGate | 2 |
| What is the difference between this() and super()? | TCS | 11 |
| Which java.util classes and interfaces support event
handling? | | 2 |
| What is the use of ?this?? | | 4 |
| Is Java is 100% pure OOPS? Explain? | | 15 |
| suppose in a class there is a code like this:
{
Set hs=new Hashset();
hs.add(new Emp("kathy",1000));
hs.add(new Emp("kathy",2000));
}
how can u avoid the above code in your class as set won't
allow duplicate objects? | | 2 |
| why java does not support multiple inheritance | Mind-Tree | 14 |
| explain the clone method and clonable interface | | 1 |
| Define Compiling? | | 2 |
| Interface A {
String test();
}
Interface B {
int test();
}
Create a class AB which must implements both A & B
interfaces. | Hewitt | 13 |
| What are null interfaces in JAVA ? and give me some
examples? | | 3 |
| what are the methods of an object class? | | 3 |
| Does 'true' and 'false' are keywords? | | 5 |
| how can we import the user defined package without classpath?
| | 1 |
| What is a super class and how super class be called? | | 3 |
| what is run time polymorphism | | 3 |
| What is static variable and static method? | TCS | 9 |
| Program to output as below formate:
1
2 3
4 5 6
7 8 9 10 | Huawei | 2 |
| |
| For more Core Java Interview Questions Click Here |