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 76886

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.

7 votes

Array implementation of Java Stack

Testing the native Java Stack, it doesn't seem to do any size reduction, except with trim(). Currently your code has one important characteristics: Amortized constant time push cost. …
Torinthiel's user avatar
1 vote

Hashing user passwords

Standard Java convention would be hashUser and hashInput (which you already use in method names). hash_user and hash_input (note the lack of capital letters) would also be pretty OK. …
Torinthiel's user avatar
3 votes

Enigma Machine Simulation

Adding to previous answers, I'll divide this to two lists: You are not implementing Enigma. The real military enigma had 3 rotors, but apart from that had another entry entry wheel (essentially an …
Torinthiel's user avatar