Differentiate between array list and vector in java.
Have you worked on bits programming? examples?What is bit? How many bits are there in the byte?
why Java does not support multiple inheritances?
What is constructor and virtual function? Can we call a virtual function in a constructor?
what is the use of clone method? why user cant overwrite in sub class without its proper defination.
what is different between static and non static methods ,using example
abstract class Demo { public void show() { System.out.println("Hello I am In show method of Abstract class"); } } class Sample extends Demo { public void show() { super.show(); System.out.println("Hello I am In Sample "); } } public class Test { public static void main(String[] args) { //I WANT TO CALL THE METHOD OF BASE CLASS IT IS POSSIBLE OR NOT CAN WE USE SCOPE RESOLUTION OPERATOR TO CALL OR JAVA NOT SUPPORTED THAT :: OPERATORE } }
How will you communicate between two applets?
Explain about anonymous inner classes ?
import java.io.*; class Demo { public static void main(String args[]) { File f=new File("1234.msg"); String arr[]=f.list(); System.out.println(arr.length); } }
What is final class?
In java, what is the difference between method overloading and method overriding?
which class is the wait() method defined in? : Java thread