| Other Core Java Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| Explain about global variables in Java? | | 2 |
| Difference between String and String Buffer? | | 3 |
| What is OOP?
| BMC | 2 |
| whats is the use of final,in which situation final can be
used in the application? | DNS | 2 |
| what is aberivation of java? | | 10 |
| Why do inner class cannot have static declaration except
static nested class? | Wipro | 1 |
| whats the diff between jsp and servlets? | HCL | 9 |
| What is the diff. b/w Interfaces & Abstract class? | Ericsson | 4 |
| What is the GregorianCalendar class? | HCL | 1 |
| How to deprecate a method?
Show it with proper example.
Plz give the answer of this.Thanx in advance.
mail me: tanzeem.akhtar@gmail.com | | 1 |
| Package1 and Package2 both have a method name lets say
"methodA" with different implementation. When I import both
the packages in a java class how can I use both the methods? | Ericsson | 3 |
| I have 100 records in a table with two rows. I need to
display 10 records per page like Google Search. I need only
the Logic(Pagination) in Pure Java. No JSP and all..Thanks
in Advance... | Cybernet | 2 |
| How to transfer data from an Applet to Servlet ? | | 1 |
| Is &&= a valid Java operator? | | 2 |
| Why we need to serialize the object | Geometric-Software | 9 |
| What is inheritance? | | 4 |
| 11. static class A {
12. void process() throws Exception { throw new Exception();
}
13. }
14. static class B extends A {
15. void process() { System.out.println(”B”); }
16. }
17. public static void main(String[] args) {
18. new B().process();
19. }
What is the result?
1 B
2 The code runs with no output.
3 Compilation fails because of an error in
line 12.
4 Compilation fails because of an error in
line 15. | | 1 |
| What for read() function? | | 3 |
| What is thread? | BMC | 5 |
| what is life cycle of applet? | | 4 |
| |
| For more Core Java Interview Questions Click Here |