search
Login

Categories


C Books Guide and List
C++ Books Guide and List
Best Java Books

3.8k questions

4k answers

117 comments

10.7k users

Recent questions tagged java

0 votes
1 answer 60 views
If I have a try/catch block with returns inside it, will the finally block be called? For example: try { something(); return success; } catch (Exception e) { return failure; } finally { System.out.println("i don't know if this will get printed out."); } I know I can ... is what I'm about to do, actually) but when I googled for answers nothing came up, so I figured I'd throw this up as a question.
asked arnav Sr Member 1.3k points 9 21 28
0 votes
1 answer 201 views
I'm at the beginning/middle of a project that we chose to implement using GWT. Has anyone encountered any major pitfalls in using GWT (and GWT-EXT) that were unable to be overcome? How about from a performance perspective? A couple things that we've seen/heard ... able to index content CSS and styling in general seems to be a bit flaky Looking for any additional feedback on these items as well.
asked arnav Sr Member 1.3k points 9 21 28
0 votes
1 answer 36 views
I always thought Java was pass by reference. Could someone explain it please?
asked om Sr Member 1.3k points 7 16 31
0 votes
1 answer 53 views
One of my student wrote the following code: public class Tests { public static void main(String[] args) throws Exception { int x = 0; while(x<3) { x = x++; System.out.println(x); } } } we know he should have writen just x++ or x=x+1, but on x = x++; it should first attribute x to itself, and later increment x. Why does x continue with 0 as value?
asked om Sr Member 1.3k points 7 16 31
0 votes
1 answer 62 views
In Java how can you convert a String that represents a fragment of XML for insertion into an XML document? String newNode = "<node>value</node>"; // Convert this to XML Then insert this node into an org.w3c.dom.Document as the child of a given node?
asked om Sr Member 1.3k points 7 16 31
0 votes
2 answers 3.9K views
I have a Java String that contains XML, with no line feeds and indentations. I would like to turn in into a String with nicely formatted XML. How do I do this? String unformattedXml = "<tag><nested>hello</nested></tag>"; String formattedXml = new [UnknownClass]().format(unformattedXml); Input and output is in String...
asked shivani Sr Member 1.1k points 13 27 42
0 votes
1 answer 38 views
I heard that JOINs (SQL) are useless. Using joins is less efficient than making several requests and link tables in the code (C# or Java). Joins are for lazy people that don't care about performance. Is this true? Should we avoid using joins?
asked om Sr Member 1.3k points 7 16 31
1 vote
1 answer 61 views
asked denis Sr Member 2.7k points 14 29 61
0 votes
3 answers 72 views
asked Smita Advisor 7.1k points 10 23 42
0 votes
1 answer 419 views
Why is it not a good practice to create HttpSessions in JSPs by default?
asked Smita Advisor 7.1k points 10 23 42
1 vote
1 answer 55 views
from where should i download Java 7 release ?? if you know pls provide link. thanks..
asked anonymous
1 vote
1 answer 66 views
1 vote
1 answer 3.3K views
1 vote
2 answers 394 views
0 votes
1 answer 79 views
0 votes
1 answer 47 views
in context to JAVA
asked anonymous
2 votes
1 answer 64 views
–1 vote
1 answer 2.8K views
what is missing in JAVA to be qualified for oop language?
asked anonymous
0 votes
1 answer 75 views
...