Simple Java Challenge - Programming - Nairaland
Nairaland Forum › Science/Technology › Programming › Simple Java Challenge (1485 Views)
| Simple Java Challenge by Slyr0x(op): 11:27am On May 15, 2016 |
Hey guys, I came across this challenge and thought to share. Challenge question : What is the frame? import java.util.Random; |
| Re: Simple Java Challenge by HouseOfBalloons(f): 12:24pm On May 15, 2016 |
Slyr0x:Frame could be anything, depends on how the strings are inputted into args. There are a lot of combinations you could use to get tot |
| Re: Simple Java Challenge by HouseOfBalloons(f): 12:28pm On May 15, 2016 |
Also, it's bad practice to overwrite args even if you don't use command line arguments in the program |
| Re: Simple Java Challenge by Nobody: 1:15pm On May 15, 2016 |
@op, i don't know that you are on this world, heard you have travelled to outer-space on a NASAA MISSION! |
| Re: Simple Java Challenge by Nobody: 3:21pm On May 15, 2016*. Modified: 5:53pm On May 15, 2016 |
String Str = new String("what is the frame" ); System.out.println("The frame is :" + Str.hashCode() ); } the frame is 175788836 |
| Re: Simple Java Challenge by Nobody: 4:46pm On May 15, 2016*. Modified: 5:15pm On May 15, 2016 |
HOPE I AM RIGHT **Modified** i think i found a bug.. i used args[3] instead of args[2]. i can't rectify it now
|
| Re: Simple Java Challenge by quadness(m): 5:15pm On May 15, 2016 |
What the name of the app you used.... Wanna download it for my phone ![]() |
| Re: Simple Java Challenge by Nobody: 5:34pm On May 15, 2016 |
@crotonite, i love programmers with fuccking sense of humours, i think this has killed the gaddamn quiz!! |
| Re: Simple Java Challenge by Nobody: 7:57pm On May 15, 2016 |
quadness:AIDE |
| Re: Simple Java Challenge by Slyr0x(op): 8:40pm On May 15, 2016 |
crotonite:Wrong |
| Re: Simple Java Challenge by Nobody: 8:42pm On May 15, 2016 |
Is wrong keh? |
| Re: Simple Java Challenge by Nobody: 8:45pm On May 15, 2016 |
Slyr0x:wtf! can u explain the question a little bit more. |
| Re: Simple Java Challenge by Nobody: 8:48pm On May 15, 2016 |
Slyr0x:I know the answers are numbers . |
| Re: Simple Java Challenge by Nobody: 9:23pm On May 15, 2016 |
Slyr0x:hw about this time around? frame is 'my0smell0nose'. Note: i made a little change to ....replace(" ", ""+"".hashcode()) b4 it compiled.
|
| Re: Simple Java Challenge by Slyr0x(op): 9:37pm On May 15, 2016*. Modified: 9:54pm On May 15, 2016 |
^^ The answer is a number that starts with 132................. Use the hashcode() :-) |
Simple Java Calculator Code. • 2 • 3 • 4
A Programmer/web Developer Needed Urgently • C++ Programmer Needed • What Are D Requirements B4 U Kick Off On Programming Lectures?
)