Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 39873

Java (not to be confused with JavaScript) is a class-based, object-oriented, strongly typed, reflective language and run-time environment (JRE). Java programs are compiled to bytecode and run in a virtual machine (JVM) enabling a "write once, run anywhere" (WORA) methodology.

4 votes

Checking to see whether a document can be deleted

I agree, with Malachi by moving the variable to the if statement, since its not being used anywhere else. If they are both performing a checkIfLocked() on the file, wouldn't it be better to perform t …
Brian's user avatar
  • 175
2 votes
2 answers
528 views

Java ClassNotFoundException Handling

Is there a better way to handle this ClassNotFoundException ? private Class<?> getClass(String value) { Class<?> columnClass = null; try { columnClass = Class.forName(StringUtils. …
Brian's user avatar
  • 175
1 vote
1 answer
72 views

Store object in memory or de-reference it for performance

I have a GUI that contains a Table Object (for displaying columns of data) and a Table Model. The Table Object contains the Table Model. Is it better to store the Table Model as a object in the User …
Brian's user avatar
  • 175