Friday, 8 June 2012

Java Interview Questions

Why we can not override static method?
What is static in java?
How can we write our own arraylist without using collections?
What is the purpose of garbage collection in Java, and when is it used?
Difference between Swing and Awt?
Which class is extended by all other classes?
How will you perform transaction using JDBC
What is the default size of vector and StringBuffer?
What if the main method is declared as private?
What is meant by Object Oriented Programming?
Can we serialize the static variable?
What is meant by Polymorphism?
What is an Iterator?
Meaning - Abstract classes, abstract methods?
Explain Garbage collection mechanism in Java?
What does it mean that a class or member is final?
What is the difference between interface and abstract class ?
Given A = 1, B = 2, C = 3, D = 4 ?? Z = 26, write a java standalone program to encode the word ?TELEPHONE? into numbers.
What is Weak reference and Soft reference in java?
What is the difference between length and length() ?
What are the main differences between Java and C++?
What is internationalisation? How can you achieve in java?
What does the "abstract" keyword mean in front of a method? A class?
What is the difference between instanceof and isInstance?
Is java a fully object oriented programming or not? if not why?
Which Java operator is right associative?
Addition of two numbers using Bitwise operators. Reading An 2D array using single for loop?

1 comment: