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 89635

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.

3 votes
1 answer
565 views

Key to Value / Value to Key - java

or can we implement the below code using java enum or spring or apache enumutils or java generic ? … System.out.println("role name"+result); int roleId=MyRole.getId("Admin"); System.out.println("role id "+roleId); } } I want make sure , whether the above program is fine or can we achieve via Java
Vasanth's user avatar
  • 173
3 votes
1 answer
128 views

User details logging [closed]

I have written this logic for logging, but is getting replication for all fields (last name, DOB,city, state, ZIP, etc). Here only validation logic is going to differ, whereas logging functionality wi …
Vasanth's user avatar
  • 173