What is the primitive type byte?
No Answer is Posted For this Question
Be the First to Post Answer
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); } }
I have a sorting issue with a Hashmap. My constraint is that I MUST use the Hashmap and work with existing code. I do a database query and place the results in a Hashmap. When I iterate thru the Hashmap, it loses the original alphabetical sorting done by the database. So, my problem is that I must sort the results coming out of the Hashmap which is then placed into another class.
What is difference between static class and singleton pattern?
What is the difference between numeric and integer?
What are the two types of java?
How do you pass by reference?
without using arthematic operation ,how can you write the logic for adding/substraction/multiplication?
7 Answers Tanla Solutions, Wipro,
what is difference between method overloading & method overridding with example?
Explain about doubly linked list
0 Answers Aditi Placement Service,
How do you identify if jvm is 32-bit or 64-bit from java program?
Differentiate between == and equals().
Explain inner classes ?