What is serialversionuid?
No Answer is Posted For this Question
Be the First to Post Answer
Can you run java program without main method?
What are static initalizers in java ?
What is advantage of java?
When do we use hashset over treeset?
how to create an applet
What is the size of string?
how and when compiler knows that the Java code throws the checked Exception.
What is primitive array?
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); } }
How to sort a vector elements that contains the user define class object? (Note: If Suppose consider, A Student class contain two data members. They are String studentName and int rollNo. I am creating Four objects for this class, each object contains students details like name and roll no. Now i am storing that objects in vector and if i retiving the elements from the vector means then it should be display in sorting order)
3 Answers ProdEx Technologies,
Can we restart a dead thread in java?
What is casting?