Can You Have Virtual Functions In Java?
No Answer is Posted For this Question
Be the First to Post Answer
What is java literals?
What is the difference between procedural and object-oriented programs?
What is a boolean field?
What is immutable class in java?
What classes can be used to store arbitrary number of objects ?
Explain yield() method in thread class ?
Explain the difference between transient and volatile in java?
Is string pool garbage collected?
What is difference between checked and unchecked exception in java?
explain the collection in java
How to excute - Interface - Inner class- method can any one tell how to execute/ call this main method public interface abc { static int i=0; void dd(); class a1 { a1() { int j; System.out.println("inside"); }; public static void main(String a1[]) { System.out.println("in interfia"); } } }
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,