How do you sort an array in java?
No Answer is Posted For this Question
Be the First to Post Answer
I have a string like _a01_a02_a03_ and another string like _2_1.5_4_ as input.I want to extract a01,a02... to a string array and 2,1.5,etc to a double array with a01 corresponds to 2 and a02 to 1.5 etc. Need code in core java.. Can you do it?
Write a regular expression to validate a password. A password must start with an alphabet and followed by alphanumeric characters; its length must be in between 8 to 20.
How do you sort data in java?
What will happen if non-synchronized method calls a static synchronized method and what kind of lock it acquires?
Is it possible to cast an int value into a byte variable? What would happen if the value of int is larger than byte?
Give some features of interface?
What is the maximum size of a string in java?
Is java a super set of javascript?
Explain the difference between hashmap and hashtable in java?
What do you mean by local class?
Does java have extension methods?
What is the primitive type short?