Recent questions tagged java

0 votes
1 answer

Sort a HashMap in Java

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

How to return multiple objects from a Java method?

Jul 12, 2018 in Java by whatsinname
• 280 points
9,119 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,324 views
0 votes
1 answer

How can we use wait and notify in Java?

Jul 12, 2018 in Java by Akrati
• 960 points
705 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,076 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
584 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,103 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,046 views
0 votes
2 answers

How to play .mp3 and .wav in Java?

Jul 9, 2018 in Java by Akrati
• 3,190 points
6,133 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
739 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,890 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,319 views
0 votes
1 answer

Hibernate show real SQL

Jul 5, 2018 in Java by Daisy
• 8,140 points
1,029 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,181 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,074 views
0 votes
2 answers

Is there a SortedList in Java?

Jul 4, 2018 in Java by sharth
• 3,370 points
4,500 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,866 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,188 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
600 views
0 votes
1 answer

Continue Keyword in Java

Jul 3, 2018 in Java by developer_1
• 3,350 points
493 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,339 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
897 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,116 views
0 votes
2 answers

How to sort array in descending order

Jul 2, 2018 in Java by anonymous
1,182 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,325 views
0 votes
1 answer

A Java collection of value pairs? (tuples?)

Jul 2, 2018 in Java by Sushmita
• 6,920 points
2,505 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
678 views
0 votes
1 answer

No appenders could be found for logger(log4j)?

Jun 29, 2018 in Java by Daisy
• 8,140 points
8,733 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