Recent questions tagged java

0 votes
1 answer

Sort a HashMap in Java

Jul 13, 2018 in Java by samarth295
• 2,220 points
660 views
0 votes
2 answers

How to return multiple objects from a Java method?

Jul 12, 2018 in Java by whatsinname
• 280 points
9,120 views
0 votes
1 answer
0 votes
1 answer

What does NaN mean in Java?

Jul 12, 2018 in Java by Daisy
• 8,140 points
2,325 views
0 votes
1 answer

How can we use wait and notify in Java?

Jul 12, 2018 in Java by Akrati
• 960 points
708 views
0 votes
1 answer
0 votes
1 answer

Check whether the string is palindrome or not?

Jul 11, 2018 in Java by sophia
• 1,400 points
1,077 views
0 votes
2 answers

Is there any way to declare an array in-line?

Jul 10, 2018 in Java by sophia
• 1,400 points
585 views
–1 vote
1 answer

What is the difference between oracle JDK and open JDK

Jul 10, 2018 in Java by scarlett
• 1,290 points
1,104 views
0 votes
1 answer

org.xml.sax.SAXParseException: How to handle this exception?

Jul 9, 2018 in Java by Daisy
• 8,140 points
6,047 views
0 votes
2 answers

How to play .mp3 and .wav in Java?

Jul 9, 2018 in Java by Akrati
• 3,190 points
6,134 views
0 votes
2 answers
0 votes
2 answers

How may I programmatically determine operating system in Java?

Jul 6, 2018 in Java by Akrati
• 3,190 points
740 views
0 votes
2 answers
0 votes
1 answer
0 votes
1 answer

How can we return a JSON object from a Java Servlet?

Jul 6, 2018 in Java by Daisy
• 8,140 points
5,891 views
0 votes
1 answer
0 votes
1 answer

How to get the name of the currently executing method?

Jul 5, 2018 in Java by Akrati
• 960 points
837 views
0 votes
2 answers

C++ performance vs. Java/C#

Jul 5, 2018 in Java by Sushmita
• 6,920 points
1,321 views
0 votes
1 answer

Hibernate show real SQL

Jul 5, 2018 in Java by Daisy
• 8,140 points
1,032 views
0 votes
2 answers

How to left pad a string with zero in java?

Jul 5, 2018 in Java by sophia
• 1,400 points
3,182 views
0 votes
1 answer

How to pretty print XML from Java?

Jul 4, 2018 in Java by Sushmita
• 6,920 points
1,936 views
0 votes
1 answer

What is the equivalent of the C++ Pair<L,R> in Java?

Jul 4, 2018 in Java by developer_1
• 3,350 points
1,075 views
0 votes
2 answers

Is there a SortedList in Java?

Jul 4, 2018 in Java by sharth
• 3,370 points
4,501 views
0 votes
1 answer
0 votes
1 answer

How to retrieve column names from java.sql.ResultSet?

Jul 4, 2018 in Java by Akrati
• 3,190 points
2,867 views
0 votes
1 answer
0 votes
1 answer

Bean Scopes in Java Spring

Jul 4, 2018 in Java by misc.edu04
• 1,450 points
1,189 views
0 votes
1 answer
0 votes
1 answer

Number of lines in a file in Java

Jul 4, 2018 in Java by samarth295
• 2,220 points
602 views
0 votes
1 answer

Continue Keyword in Java

Jul 3, 2018 in Java by developer_1
• 3,350 points
495 views
+29 votes
3 answers

How can we set java.library.path in Eclipse?

Jul 3, 2018 in Java by Sushmita
• 6,920 points
22,344 views
0 votes
1 answer

How to get a platform-dependent new line character in Java?

Jul 3, 2018 in Java by Daisy
• 8,140 points
898 views
0 votes
1 answer
0 votes
2 answers

How do I get the size of a java.sql.ResultSet?

Jul 3, 2018 in Java by Parth
• 4,640 points
13,117 views
0 votes
2 answers

How to sort array in descending order

Jul 2, 2018 in Java by anonymous
1,183 views
0 votes
1 answer

How can we format float to n decimal places ?

Jul 2, 2018 in Java by scarlett
• 1,290 points
1,326 views
0 votes
1 answer

A Java collection of value pairs? (tuples?)

Jul 2, 2018 in Java by Sushmita
• 6,920 points
2,507 views
0 votes
1 answer

How to get the Generic type of class at run time?

Jul 2, 2018 in Java by Daisy
• 8,140 points
828 views
0 votes
1 answer

ThreadLocal variables usage in Java

Jun 30, 2018 in Java by misc.edu04
• 1,450 points
679 views
0 votes
1 answer

No appenders could be found for logger(log4j)?

Jun 29, 2018 in Java by Daisy
• 8,140 points
8,735 views
0 votes
2 answers
0 votes
2 answers
+1 vote
1 answer
0 votes
1 answer

What are Daemon threads in Java?

Jun 29, 2018 in Java by sharth
• 3,370 points
707 views