-
Notifications
You must be signed in to change notification settings - Fork 0
/
testing_linked_list_2.4.html
97 lines (75 loc) · 101 KB
/
testing_linked_list_2.4.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<!DOCTYPE html>
<!-- saved from url=(0044)https://www.jdoodle.com/online-java-compiler -->
<html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="description" content="Online Java Compiler - Online Java Editor - Online Java IDE - Java Coding Online - Online Java Runner - Share Save Java online">
<meta name="Keywords" content="Online Java Compiler - Online Java Editor - Online Java IDE - Java Coding Online - Online Java Runner - Share Save Java online">
<title>Online Java Compiler - Online Java Editor - Java Code Online - Online Java Runner</title>
<meta property="og:url" content="https://www.jdoodle.com">
<meta property="og:title" content="JDoodle - free Online Compiler, Editor for Java, C/C++, etc">
<meta property="og:description" content="JDoodle is a free Online Compiler, Editor, IDE for Java, C, C++, PHP, Perl, Python, Ruby and many more. you can run your programs on the fly online and you can save and share them with others. Quick and Easy way to compile and run programs online.">
<meta property="og:image" content="https://www.jdoodle.com/static/images/jdoodle-fb.png">
<meta property="og:image:alt" content="JDoodle">
<meta name="google-site-verification" content="UvObv0WXViGO2pEP8egoe3k1sXqHcsSeAfEEjnUyuXg">
<meta name="msvalidate.01" content="93539EB8D681BD90594A81FCAF6560BC">
<link rel="shortcut icon" href="https://www.jdoodle.com/static/images/favicon.ico">
<link rel="canonical" href="https://www.jdoodle.com/online-java-compiler">
<style id="ace_editor.css">.ace_editor {position: relative;overflow: hidden;font: 12px/normal 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace;direction: ltr;}.ace_scroller {position: absolute;overflow: hidden;top: 0;bottom: 0;background-color: inherit;-ms-user-select: none;-moz-user-select: none;-webkit-user-select: none;user-select: none;cursor: text;}.ace_content {position: absolute;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;min-width: 100%;}.ace_dragging .ace_scroller:before{position: absolute;top: 0;left: 0;right: 0;bottom: 0;content: '';background: rgba(250, 250, 250, 0.01);z-index: 1000;}.ace_dragging.ace_dark .ace_scroller:before{background: rgba(0, 0, 0, 0.01);}.ace_selecting, .ace_selecting * {cursor: text !important;}.ace_gutter {position: absolute;overflow : hidden;width: auto;top: 0;bottom: 0;left: 0;cursor: default;z-index: 4;-ms-user-select: none;-moz-user-select: none;-webkit-user-select: none;user-select: none;}.ace_gutter-active-line {position: absolute;left: 0;right: 0;}.ace_scroller.ace_scroll-left {box-shadow: 17px 0 16px -16px rgba(0, 0, 0, 0.4) inset;}.ace_gutter-cell {padding-left: 19px;padding-right: 6px;background-repeat: no-repeat;}.ace_gutter-cell.ace_error {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAABOFBMVEX/////////QRswFAb/Ui4wFAYwFAYwFAaWGAfDRymzOSH/PxswFAb/SiUwFAYwFAbUPRvjQiDllog5HhHdRybsTi3/Tyv9Tir+Syj/UC3////XurebMBIwFAb/RSHbPx/gUzfdwL3kzMivKBAwFAbbvbnhPx66NhowFAYwFAaZJg8wFAaxKBDZurf/RB6mMxb/SCMwFAYwFAbxQB3+RB4wFAb/Qhy4Oh+4QifbNRcwFAYwFAYwFAb/QRzdNhgwFAYwFAbav7v/Uy7oaE68MBK5LxLewr/r2NXewLswFAaxJw4wFAbkPRy2PyYwFAaxKhLm1tMwFAazPiQwFAaUGAb/QBrfOx3bvrv/VC/maE4wFAbRPBq6MRO8Qynew8Dp2tjfwb0wFAbx6eju5+by6uns4uH9/f36+vr/GkHjAAAAYnRSTlMAGt+64rnWu/bo8eAA4InH3+DwoN7j4eLi4xP99Nfg4+b+/u9B/eDs1MD1mO7+4PHg2MXa347g7vDizMLN4eG+Pv7i5evs/v79yu7S3/DV7/498Yv24eH+4ufQ3Ozu/v7+y13sRqwAAADLSURBVHjaZc/XDsFgGIBhtDrshlitmk2IrbHFqL2pvXf/+78DPokj7+Fz9qpU/9UXJIlhmPaTaQ6QPaz0mm+5gwkgovcV6GZzd5JtCQwgsxoHOvJO15kleRLAnMgHFIESUEPmawB9ngmelTtipwwfASilxOLyiV5UVUyVAfbG0cCPHig+GBkzAENHS0AstVF6bacZIOzgLmxsHbt2OecNgJC83JERmePUYq8ARGkJx6XtFsdddBQgZE2nPR6CICZhawjA4Fb/chv+399kfR+MMMDGOQAAAABJRU5ErkJggg==");background-repeat: no-repeat;background-position: 2px center;}.ace_gutter-cell.ace_warning {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAmVBMVEX///8AAAD///8AAAAAAABPSzb/5sAAAAB/blH/73z/ulkAAAAAAAD85pkAAAAAAAACAgP/vGz/rkDerGbGrV7/pkQICAf////e0IsAAAD/oED/qTvhrnUAAAD/yHD/njcAAADuv2r/nz//oTj/p064oGf/zHAAAAA9Nir/tFIAAAD/tlTiuWf/tkIAAACynXEAAAAAAAAtIRW7zBpBAAAAM3RSTlMAABR1m7RXO8Ln31Z36zT+neXe5OzooRDfn+TZ4p3h2hTf4t3k3ucyrN1K5+Xaks52Sfs9CXgrAAAAjklEQVR42o3PbQ+CIBQFYEwboPhSYgoYunIqqLn6/z8uYdH8Vmdnu9vz4WwXgN/xTPRD2+sgOcZjsge/whXZgUaYYvT8QnuJaUrjrHUQreGczuEafQCO/SJTufTbroWsPgsllVhq3wJEk2jUSzX3CUEDJC84707djRc5MTAQxoLgupWRwW6UB5fS++NV8AbOZgnsC7BpEAAAAABJRU5ErkJggg==");background-position: 2px center;}.ace_gutter-cell.ace_info {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAAAAAA6mKC9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAJ0Uk5TAAB2k804AAAAPklEQVQY02NgIB68QuO3tiLznjAwpKTgNyDbMegwisCHZUETUZV0ZqOquBpXj2rtnpSJT1AEnnRmL2OgGgAAIKkRQap2htgAAAAASUVORK5CYII=");background-position: 2px center;}.ace_dark .ace_gutter-cell.ace_info {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQBAMAAADt3eJSAAAAJFBMVEUAAAChoaGAgIAqKiq+vr6tra1ZWVmUlJSbm5s8PDxubm56enrdgzg3AAAAAXRSTlMAQObYZgAAAClJREFUeNpjYMAPdsMYHegyJZFQBlsUlMFVCWUYKkAZMxZAGdxlDMQBAG+TBP4B6RyJAAAAAElFTkSuQmCC");}.ace_scrollbar {position: absolute;right: 0;bottom: 0;z-index: 6;}.ace_scrollbar-inner {position: absolute;cursor: text;left: 0;top: 0;}.ace_scrollbar-v{overflow-x: hidden;overflow-y: scroll;top: 0;}.ace_scrollbar-h {overflow-x: scroll;overflow-y: hidden;left: 0;}.ace_print-margin {position: absolute;height: 100%;}.ace_text-input {position: absolute;z-index: 0;width: 0.5em;height: 1em;opacity: 0;background: transparent;-moz-appearance: none;appearance: none;border: none;resize: none;outline: none;overflow: hidden;font: inherit;padding: 0 1px;margin: 0 -1px;text-indent: -1em;-ms-user-select: text;-moz-user-select: text;-webkit-user-select: text;user-select: text;white-space: pre!important;}.ace_text-input.ace_composition {background: inherit;color: inherit;z-index: 1000;opacity: 1;text-indent: 0;}.ace_layer {z-index: 1;position: absolute;overflow: hidden;word-wrap: normal;white-space: pre;height: 100%;width: 100%;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;pointer-events: none;}.ace_gutter-layer {position: relative;width: auto;text-align: right;pointer-events: auto;}.ace_text-layer {font: inherit !important;}.ace_cjk {display: inline-block;text-align: center;}.ace_cursor-layer {z-index: 4;}.ace_cursor {z-index: 4;position: absolute;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;border-left: 2px solid;transform: translatez(0);}.ace_slim-cursors .ace_cursor {border-left-width: 1px;}.ace_overwrite-cursors .ace_cursor {border-left-width: 0;border-bottom: 1px solid;}.ace_hidden-cursors .ace_cursor {opacity: 0.2;}.ace_smooth-blinking .ace_cursor {-webkit-transition: opacity 0.18s;transition: opacity 0.18s;}.ace_editor.ace_multiselect .ace_cursor {border-left-width: 1px;}.ace_marker-layer .ace_step, .ace_marker-layer .ace_stack {position: absolute;z-index: 3;}.ace_marker-layer .ace_selection {position: absolute;z-index: 5;}.ace_marker-layer .ace_bracket {position: absolute;z-index: 6;}.ace_marker-layer .ace_active-line {position: absolute;z-index: 2;}.ace_marker-layer .ace_selected-word {position: absolute;z-index: 4;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;}.ace_line .ace_fold {-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;display: inline-block;height: 11px;margin-top: -2px;vertical-align: middle;background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="),url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACJJREFUeNpi+P//fxgTAwPDBxDxD078RSX+YeEyDFMCIMAAI3INmXiwf2YAAAAASUVORK5CYII=");background-repeat: no-repeat, repeat-x;background-position: center center, top left;color: transparent;border: 1px solid black;border-radius: 2px;cursor: pointer;pointer-events: auto;}.ace_dark .ace_fold {}.ace_fold:hover{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="),url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACBJREFUeNpi+P//fz4TAwPDZxDxD5X4i5fLMEwJgAADAEPVDbjNw87ZAAAAAElFTkSuQmCC");}.ace_tooltip {background-color: #FFF;background-image: -webkit-linear-gradient(top, transparent, rgba(0, 0, 0, 0.1));background-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.1));border: 1px solid gray;border-radius: 1px;box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);color: black;max-width: 100%;padding: 3px 4px;position: fixed;z-index: 999999;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;cursor: default;white-space: pre;word-wrap: break-word;line-height: normal;font-style: normal;font-weight: normal;letter-spacing: normal;pointer-events: none;}.ace_folding-enabled > .ace_gutter-cell {padding-right: 13px;}.ace_fold-widget {-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;margin: 0 -12px 0 1px;display: none;width: 11px;vertical-align: top;background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42mWKsQ0AMAzC8ixLlrzQjzmBiEjp0A6WwBCSPgKAXoLkqSot7nN3yMwR7pZ32NzpKkVoDBUxKAAAAABJRU5ErkJggg==");background-repeat: no-repeat;background-position: center;border-radius: 3px;border: 1px solid transparent;cursor: pointer;}.ace_folding-enabled .ace_fold-widget {display: inline-block; }.ace_fold-widget.ace_end {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42m3HwQkAMAhD0YzsRchFKI7sAikeWkrxwScEB0nh5e7KTPWimZki4tYfVbX+MNl4pyZXejUO1QAAAABJRU5ErkJggg==");}.ace_fold-widget.ace_closed {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAGCAYAAAAG5SQMAAAAOUlEQVR42jXKwQkAMAgDwKwqKD4EwQ26sSOkVWjgIIHAzPiCgaqiqnJHZnKICBERHN194O5b9vbLuAVRL+l0YWnZAAAAAElFTkSuQmCCXA==");}.ace_fold-widget:hover {border: 1px solid rgba(0, 0, 0, 0.3);background-color: rgba(255, 255, 255, 0.2);box-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);}.ace_fold-widget:active {border: 1px solid rgba(0, 0, 0, 0.4);background-color: rgba(0, 0, 0, 0.05);box-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);}.ace_dark .ace_fold-widget {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHklEQVQIW2P4//8/AzoGEQ7oGCaLLAhWiSwB146BAQCSTPYocqT0AAAAAElFTkSuQmCC");}.ace_dark .ace_fold-widget.ace_end {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAH0lEQVQIW2P4//8/AxQ7wNjIAjDMgC4AxjCVKBirIAAF0kz2rlhxpAAAAABJRU5ErkJggg==");}.ace_dark .ace_fold-widget.ace_closed {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAFCAYAAACAcVaiAAAAHElEQVQIW2P4//+/AxAzgDADlOOAznHAKgPWAwARji8UIDTfQQAAAABJRU5ErkJggg==");}.ace_dark .ace_fold-widget:hover {box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);background-color: rgba(255, 255, 255, 0.1);}.ace_dark .ace_fold-widget:active {box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);}.ace_fold-widget.ace_invalid {background-color: #FFB4B4;border-color: #DE5555;}.ace_fade-fold-widgets .ace_fold-widget {-webkit-transition: opacity 0.4s ease 0.05s;transition: opacity 0.4s ease 0.05s;opacity: 0;}.ace_fade-fold-widgets:hover .ace_fold-widget {-webkit-transition: opacity 0.05s ease 0.05s;transition: opacity 0.05s ease 0.05s;opacity:1;}.ace_underline {text-decoration: underline;}.ace_bold {font-weight: bold;}.ace_nobold .ace_bold {font-weight: normal;}.ace_italic {font-style: italic;}.ace_error-marker {background-color: rgba(255, 0, 0,0.2);position: absolute;z-index: 9;}.ace_highlight-marker {background-color: rgba(255, 255, 0,0.2);position: absolute;z-index: 8;}.ace_br1 {border-top-left-radius : 3px;}.ace_br2 {border-top-right-radius : 3px;}.ace_br3 {border-top-left-radius : 3px; border-top-right-radius: 3px;}.ace_br4 {border-bottom-right-radius: 3px;}.ace_br5 {border-top-left-radius : 3px; border-bottom-right-radius: 3px;}.ace_br6 {border-top-right-radius : 3px; border-bottom-right-radius: 3px;}.ace_br7 {border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px;}.ace_br8 {border-bottom-left-radius : 3px;}.ace_br9 {border-top-left-radius : 3px; border-bottom-left-radius: 3px;}.ace_br10{border-top-right-radius : 3px; border-bottom-left-radius: 3px;}.ace_br11{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_br12{border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_br13{border-top-left-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_br14{border-top-right-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_br15{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}
/*# sourceURL=ace/css/ace_editor.css */</style><style id="ace-tm">.ace-tm .ace_gutter {background: #f0f0f0;color: #333;}.ace-tm .ace_print-margin {width: 1px;background: #e8e8e8;}.ace-tm .ace_fold {background-color: #6B72E6;}.ace-tm {background-color: #FFFFFF;color: black;}.ace-tm .ace_cursor {color: black;}.ace-tm .ace_invisible {color: rgb(191, 191, 191);}.ace-tm .ace_storage,.ace-tm .ace_keyword {color: blue;}.ace-tm .ace_constant {color: rgb(197, 6, 11);}.ace-tm .ace_constant.ace_buildin {color: rgb(88, 72, 246);}.ace-tm .ace_constant.ace_language {color: rgb(88, 92, 246);}.ace-tm .ace_constant.ace_library {color: rgb(6, 150, 14);}.ace-tm .ace_invalid {background-color: rgba(255, 0, 0, 0.1);color: red;}.ace-tm .ace_support.ace_function {color: rgb(60, 76, 114);}.ace-tm .ace_support.ace_constant {color: rgb(6, 150, 14);}.ace-tm .ace_support.ace_type,.ace-tm .ace_support.ace_class {color: rgb(109, 121, 222);}.ace-tm .ace_keyword.ace_operator {color: rgb(104, 118, 135);}.ace-tm .ace_string {color: rgb(3, 106, 7);}.ace-tm .ace_comment {color: rgb(76, 136, 107);}.ace-tm .ace_comment.ace_doc {color: rgb(0, 102, 255);}.ace-tm .ace_comment.ace_doc.ace_tag {color: rgb(128, 159, 191);}.ace-tm .ace_constant.ace_numeric {color: rgb(0, 0, 205);}.ace-tm .ace_variable {color: rgb(49, 132, 149);}.ace-tm .ace_xml-pe {color: rgb(104, 104, 91);}.ace-tm .ace_entity.ace_name.ace_function {color: #0000A2;}.ace-tm .ace_heading {color: rgb(12, 7, 255);}.ace-tm .ace_list {color:rgb(185, 6, 144);}.ace-tm .ace_meta.ace_tag {color:rgb(0, 22, 142);}.ace-tm .ace_string.ace_regex {color: rgb(255, 0, 0)}.ace-tm .ace_marker-layer .ace_selection {background: rgb(181, 213, 255);}.ace-tm.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px white;}.ace-tm .ace_marker-layer .ace_step {background: rgb(252, 255, 0);}.ace-tm .ace_marker-layer .ace_stack {background: rgb(164, 229, 101);}.ace-tm .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgb(192, 192, 192);}.ace-tm .ace_marker-layer .ace_active-line {background: rgba(0, 0, 0, 0.07);}.ace-tm .ace_gutter-active-line {background-color : #dcdcdc;}.ace-tm .ace_marker-layer .ace_selected-word {background: rgb(250, 250, 255);border: 1px solid rgb(200, 200, 250);}.ace-tm .ace_indent-guide {background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y;}
/*# sourceURL=ace/css/ace-tm */</style><style> .error_widget_wrapper { background: inherit; color: inherit; border:none } .error_widget { border-top: solid 2px; border-bottom: solid 2px; margin: 5px 0; padding: 10px 40px; white-space: pre-wrap; } .error_widget.ace_error, .error_widget_arrow.ace_error{ border-color: #ff5a5a } .error_widget.ace_warning, .error_widget_arrow.ace_warning{ border-color: #F1D817 } .error_widget.ace_info, .error_widget_arrow.ace_info{ border-color: #5a5a5a } .error_widget.ace_ok, .error_widget_arrow.ace_ok{ border-color: #5aaa5a } .error_widget_arrow { position: absolute; border: solid 5px; border-top-color: transparent!important; border-right-color: transparent!important; border-left-color: transparent!important; top: -5px; }</style><style>.ace_snippet-marker { -moz-box-sizing: border-box; box-sizing: border-box; background: rgba(194, 193, 208, 0.09); border: 1px dotted rgba(211, 208, 235, 0.62); position: absolute;}</style><style>.ace_editor.ace_autocomplete .ace_marker-layer .ace_active-line { background-color: #CAD6FA; z-index: 1;}.ace_editor.ace_autocomplete .ace_line-hover { border: 1px solid #abbffe; margin-top: -1px; background: rgba(233,233,253,0.4);}.ace_editor.ace_autocomplete .ace_line-hover { position: absolute; z-index: 2;}.ace_editor.ace_autocomplete .ace_scroller { background: none; border: none; box-shadow: none;}.ace_rightAlignedText { color: gray; display: inline-block; position: absolute; right: 4px; text-align: right; z-index: -1;}.ace_editor.ace_autocomplete .ace_completion-highlight{ color: #000; text-shadow: 0 0 0.01em;}.ace_editor.ace_autocomplete { width: 280px; z-index: 200000; background: #fbfbfb; color: #444; border: 1px lightgray solid; position: fixed; box-shadow: 2px 3px 5px rgba(0,0,0,.2); line-height: 1.4;}</style><script src="./testing_linked_list_2.4_files/f(5).txt"></script><script type="text/javascript" async="" src="./testing_linked_list_2.4_files/recaptcha__en.js.download"></script><script src="./testing_linked_list_2.4_files/ca-pub-8361819892821196.js.download"></script><script async="" src="./testing_linked_list_2.4_files/analytics.js.download"></script><script src="./testing_linked_list_2.4_files/theme-xcode.js.download"></script><script src="./testing_linked_list_2.4_files/mode-java.js.download"></script><script src="./testing_linked_list_2.4_files/text.js.download"></script><link rel="preload" href="./testing_linked_list_2.4_files/f(6).txt" as="script"><script type="text/javascript" src="./testing_linked_list_2.4_files/f(6).txt"></script><link rel="preload" href="./testing_linked_list_2.4_files/f(7).txt" as="script"><script type="text/javascript" src="./testing_linked_list_2.4_files/f(7).txt"></script><style id="ace-xcode">.ace-xcode .ace_gutter {background: #e8e8e8;color: #333}.ace-xcode .ace_print-margin {width: 1px;background: #e8e8e8}.ace-xcode {background-color: #FFFFFF;color: #000000}.ace-xcode .ace_cursor {color: #000000}.ace-xcode .ace_marker-layer .ace_selection {background: #B5D5FF}.ace-xcode.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #FFFFFF;}.ace-xcode .ace_marker-layer .ace_step {background: rgb(198, 219, 174)}.ace-xcode .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid #BFBFBF}.ace-xcode .ace_marker-layer .ace_active-line {background: rgba(0, 0, 0, 0.071)}.ace-xcode .ace_gutter-active-line {background-color: rgba(0, 0, 0, 0.071)}.ace-xcode .ace_marker-layer .ace_selected-word {border: 1px solid #B5D5FF}.ace-xcode .ace_constant.ace_language,.ace-xcode .ace_keyword,.ace-xcode .ace_meta,.ace-xcode .ace_variable.ace_language {color: #C800A4}.ace-xcode .ace_invisible {color: #BFBFBF}.ace-xcode .ace_constant.ace_character,.ace-xcode .ace_constant.ace_other {color: #275A5E}.ace-xcode .ace_constant.ace_numeric {color: #3A00DC}.ace-xcode .ace_entity.ace_other.ace_attribute-name,.ace-xcode .ace_support.ace_constant,.ace-xcode .ace_support.ace_function {color: #450084}.ace-xcode .ace_fold {background-color: #C800A4;border-color: #000000}.ace-xcode .ace_entity.ace_name.ace_tag,.ace-xcode .ace_support.ace_class,.ace-xcode .ace_support.ace_type {color: #790EAD}.ace-xcode .ace_storage {color: #C900A4}.ace-xcode .ace_string {color: #DF0002}.ace-xcode .ace_comment {color: #008E00}.ace-xcode .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==) right repeat-y}
/*# sourceURL=ace/css/ace-xcode */</style><script src="./testing_linked_list_2.4_files/java.js.download"></script></head>
<body class="container-fluid" style="">
<div id="jdoodle-app" class=""><div class="jdoodle-body"><div class="row hero-unit"><div class="col-sm-12 col-xs-12"><a href="https://www.jdoodle.com/" class="brand col-sm-3 col-xs-4 col-md-2"><img src="./testing_linked_list_2.4_files/jdoodle.png" alt="JDoodle"></a> <div class="btn-groups col-xs-8 col-sm-6 col-md-3 login-button-group hidden-print pull-right text-right"><div class="btn-group pull-right"><button class="btn btn-default btn-md">Sign in</button></div> <div class="btn-group pull-right" style="display: none;"><button data-toggle="dropdown" class="btn btn-default dropdown-toggle"><span class="glyphicon glyphicon-user"></span></button> <ul class="dropdown-menu dropdown-menu-right"><li><a href="javascript:">Change Password</a></li> <li><a href="javascript:">Change Display Name</a></li> <li><a href="https://www.jdoodle.com/logoff">Logout</a></li></ul></div> <div><div class="btn-group pull-right"><button data-toggle="dropdown" class="btn btn-default btn-md dropdown-toggle">IDEs <span class="glyphicon glyphicon-menu-down"></span></button> <ul class="dropdown-menu dropdown-menu-right switch-to"><div><div class="text-center well well-lg"><div class="row"><div class="input-group col-xs-12 col-sm-6 col-sm-offset-3 text-center"><input type="text" placeholder="Search IDE/Compiler/Terminal" class="form-control"> <span class="input-group-addon"><span class="glyphicon glyphicon-search"></span></span></div></div> <div class="row"><div class="col-xs-12 lang-text"><a href="https://www.jdoodle.com/online-java-compiler">Java</a></div> <div class="col-xs-12 lang-text"><a href="https://www.jdoodle.com/html-css-javascript-online-editor">HTML/CSS/Javascript</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/c-online-compiler">C</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/online-compiler-c++">C++</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/online-compiler-c++14">C++ 14</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/compile-c99-online">C99</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/compile-c-sharp-online">C#</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/php-online-editor">PHP</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-perl-online">Perl</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-ruby-online">Ruby</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/python-programming-online">Python2</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/python3-programming-online">Python3</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-sql-online">SQL</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/compile-scala-online">Scala</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/compile-vb-dot-net-online">VB.Net</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-pascal-online">Pascal</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-haskell-online">Haskell</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/compile-kotlin-online">Kotlin</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-swift-online">Swift</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-objective-c-online">Objective-C</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-groovy-online">Groovy</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-fortran-online">Fortran</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-brainfuck-online">Brainf**k</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-hack-online">Hack</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-tcl-online">TCL</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-lua-online">Lua</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-rust-online">Rust</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/compile-fsharp-online">F#</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-ada-online">Ada</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-d-online">D</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-dart-online">Dart</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-yabasic-online">YaBasic</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-freebasic-online">Free Basic</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-clojure-online">Clojure</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-verilog-online">Verilog</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-nodejs-online">NodeJS</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-scheme-online">Scheme</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-forth-online">Forth</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-prolog-online">Prolog</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/test-bash-shell-script-online">Bash</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-cobol-online">COBOL</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-octave-matlab-online">OCTAVE/Matlab</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/compile-icon-online">Icon</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/compile-coffeescript-online">CoffeeScript</a></div> <div class="col-xs-5 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/compile-assembler-gcc-online">Assembler(GCC)</a></div> <div class="col-xs-2 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-r-online">R</a></div> <div class="col-xs-5 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/compile-assembler-nasm-online">Assembler(NASM)</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/compile-intercal-online">Intercal</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/compile-nemerle-online">Nemerle</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/compile-ocaml-online">Ocaml</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-unlambda-online">Unlambda</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-picolisp-online">Picolisp</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-clisp-online">CLISP</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-elixir-online">Elixir</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-spidermonkey-online">SpiderMonkey</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-rhino-online">Rhino JS</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-bc-online">BC</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-nim-online">Nim</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-factor-online">Factor</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-falcon-online">Falcon</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-fantom-online">Fantom</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-pike-online">Pike</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-go-online">Go</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/compile-oz-mozart-online">OZ-Mozart</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-lolcode-online">LOLCODE</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-racket-online">Racket</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-smalltalk-online">SmallTalk</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-whitespace-online">Whitespace</a></div> <div class="col-xs-12 col-sm-12 lang-text terminal-title text-center"><span class="label label-default">Online Interactive Terminals</span></div> <div class="col-xs-6 col-sm-6 lang-text"><a href="https://www.jdoodle.com/online-mysql-terminal">MySQL</a></div> <div class="col-xs-6 col-sm-6 lang-text"><a href="https://www.jdoodle.com/online-mongodb-terminal">MongoDB</a></div> <div class="col-xs-12 col-sm-12 lang-text terminal-title text-center"><span class="label label-default">Our other Products/Websites</span></div> <div class="col-xs-12 col-sm-12 lang-text"><a href="http://calc.nutpan.com/" target="_blank" rel="nofollow">Online Interactive Calculator</a></div></div> <div class="row" style="display: none;"></div></div></div></ul></div> <a href="https://www.jdoodle.com/compiler-api" class="btn btn-link underline">API</a></div></div> <div class="col-sm-12 col-xs-12 col-md-7 hidden-print"><div class="text-center"><h4 class="tagline">Easy and Quick way to compile and run Java Online</h4></div> <div class="socials text-center"><div class="btn-groups"><div class="btn-group"><a href="https://facebook.com/sharer/sharer.php?u=https%3A%2F%2Fwww.jdoodle.com" target="_blank" aria-label="" class="resp-sharing-button__link"><div class="resp-sharing-button resp-sharing-button--facebook resp-sharing-button--small"><div aria-hidden="true" class="resp-sharing-button__icon resp-sharing-button__icon--solid"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" height="20" width="20"><path d="M18.77 7.46H14.5v-1.9c0-.9.6-1.1 1-1.1h3V.5h-4.33C10.24.5 9.5 3.44 9.5 5.32v2.15h-3v4h3v12h5v-12h3.85l.42-4z"></path></svg></div></div></a> <a href="https://plus.google.com/share?url=https%3A%2F%2Fwww.jdoodle.com%2Fonline-java-compiler%23.Wtc6OtzHadI.google_plusone_share&t=JDoodle+-+free+Online++Compiler%2C+Editor+for+Java%2C+C%2FC++%2C+etc" target="_blank" aria-label="" class="resp-sharing-button__link"><div class="resp-sharing-button resp-sharing-button--google resp-sharing-button--small"><div aria-hidden="true" class="resp-sharing-button__icon resp-sharing-button__icon--solid"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" height="20" width="20"><path d="M11.37 12.93c-.73-.52-1.4-1.27-1.4-1.5 0-.43.03-.63.98-1.37 1.23-.97 1.9-2.23 1.9-3.57 0-1.22-.36-2.3-1-3.05h.5c.1 0 .2-.04.28-.1l1.36-.98c.16-.12.23-.34.17-.54-.07-.2-.25-.33-.46-.33H7.6c-.66 0-1.34.12-2 .35-2.23.76-3.78 2.66-3.78 4.6 0 2.76 2.13 4.85 5 4.9-.07.23-.1.45-.1.66 0 .43.1.83.33 1.22h-.08c-2.72 0-5.17 1.34-6.1 3.32-.25.52-.37 1.04-.37 1.56 0 .5.13.98.38 1.44.6 1.04 1.84 1.86 3.55 2.28.87.23 1.82.34 2.8.34.88 0 1.7-.1 2.5-.34 2.4-.7 3.97-2.48 3.97-4.54 0-1.97-.63-3.15-2.33-4.35zm-7.7 4.5c0-1.42 1.8-2.68 3.9-2.68h.05c.45 0 .9.07 1.3.2l.42.28c.96.66 1.6 1.1 1.77 1.8.05.16.07.33.07.5 0 1.8-1.33 2.7-3.96 2.7-1.98 0-3.54-1.23-3.54-2.8zM5.54 3.9c.33-.38.75-.58 1.23-.58h.05c1.35.05 2.64 1.55 2.88 3.35.14 1.02-.08 1.97-.6 2.55-.32.37-.74.56-1.23.56h-.03c-1.32-.04-2.63-1.6-2.87-3.4-.13-1 .08-1.92.58-2.5zM23.5 9.5h-3v-3h-2v3h-3v2h3v3h2v-3h3"></path></svg></div></div></a> <a href="https://twitter.com/intent/tweet/?text=JDoodle%20-%20free%20Online%20Compiler,%20Editor%20for%20Java,%20C/C%20,%20etc&url=https%3A%2F%2Fwww.jdoodle.com" target="_blank" aria-label="" class="resp-sharing-button__link"><div class="resp-sharing-button resp-sharing-button--twitter resp-sharing-button--small"><div aria-hidden="true" class="resp-sharing-button__icon resp-sharing-button__icon--solid"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" height="20" width="20"><path d="M23.44 4.83c-.8.37-1.5.38-2.22.02.93-.56.98-.96 1.32-2.02-.88.52-1.86.9-2.9 1.1-.82-.88-2-1.43-3.3-1.43-2.5 0-4.55 2.04-4.55 4.54 0 .36.03.7.1 1.04-3.77-.2-7.12-2-9.36-4.75-.4.67-.6 1.45-.6 2.3 0 1.56.8 2.95 2 3.77-.74-.03-1.44-.23-2.05-.57v.06c0 2.2 1.56 4.03 3.64 4.44-.67.2-1.37.2-2.06.08.58 1.8 2.26 3.12 4.25 3.16C5.78 18.1 3.37 18.74 1 18.46c2 1.3 4.4 2.04 6.97 2.04 8.35 0 12.92-6.92 12.92-12.93 0-.2 0-.4-.02-.6.9-.63 1.96-1.22 2.56-2.14z"></path></svg></div></div></a> <a href="https://pinterest.com/pin/create/button/?url=u=https%3A%2F%2Fwww.jdoodle.com&media=u=https%3A%2F%2Fwww.jdoodle.com&description=JDoodle%20-%20free%20Online%20Compiler,%20Editor%20for%20Java,%20C/C%20,%20etc." target="_blank" aria-label="" class="resp-sharing-button__link"><div class="resp-sharing-button resp-sharing-button--pinterest resp-sharing-button--small"><div aria-hidden="true" class="resp-sharing-button__icon resp-sharing-button__icon--solid"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" height="20" width="20"><path d="M12.14.5C5.86.5 2.7 5 2.7 8.75c0 2.27.86 4.3 2.7 5.05.3.12.57 0 .66-.33l.27-1.06c.1-.32.06-.44-.2-.73-.52-.62-.86-1.44-.86-2.6 0-3.33 2.5-6.32 6.5-6.32 3.55 0 5.5 2.17 5.5 5.07 0 3.8-1.7 7.02-4.2 7.02-1.37 0-2.4-1.14-2.07-2.54.4-1.68 1.16-3.48 1.16-4.7 0-1.07-.58-1.98-1.78-1.98-1.4 0-2.55 1.47-2.55 3.42 0 1.25.43 2.1.43 2.1l-1.7 7.2c-.5 2.13-.08 4.75-.04 5 .02.17.22.2.3.1.14-.18 1.82-2.26 2.4-4.33.16-.58.93-3.63.93-3.63.45.88 1.8 1.65 3.22 1.65 4.25 0 7.13-3.87 7.13-9.05C20.5 4.15 17.18.5 12.14.5z"></path></svg></div></div></a> <a data-toggle="dropdown" href="https://www.jdoodle.com/online-java-compiler#" class="btn-link resp-sharing-button__link dropdown-toggle"><div class="resp-sharing-button resp-sharing-button--hackernews resp-sharing-button--small"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 32 32" version="1.1" role="img" aria-labelledby="at-svg-addthis-5" class="at-icon at-icon-addthis" style="fill: rgb(255, 255, 255); width: 16px; height: 16px;"><title id="at-svg-addthis-5">Addthis</title><g><path d="M18 14V8h-4v6H8v4h6v6h4v-6h6v-4h-6z" fill-rule="evenodd"></path></g></svg></div></a> <ul class="dropdown-menu pull-right"><li><a href="https://www.tumblr.com/widgets/share/tool?posttype=link&title=JDoodle%20-%20free%20Online%20Compiler,%20Editor%20for%20Java,%20C/C%20,%20etc.&caption=JDoodle%20-%20free%20Online%20Compiler,%20Editor%20for%20Java,%20C/C%20,%20etc&content=https%3A%2F%2Fwww.jdoodle.com&canonicalUrl=https%3A%2F%2Fwww.jdoodle.com&shareSource=tumblr_share_button" target="_blank" aria-label="" class="resp-sharing-button__link"><span class="resp-sharing-button resp-sharing-button--tumblr resp-sharing-button--small"><span aria-hidden="true" class="resp-sharing-button__icon resp-sharing-button__icon--solid"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" height="20" width="20"><path d="M13.5.5v5h5v4h-5V15c0 5 3.5 4.4 6 2.8v4.4c-6.7 3.2-12 0-12-4.2V9.5h-3V6.7c1-.3 2.2-.7 3-1.3.5-.5 1-1.2 1.4-2 .3-.7.6-1.7.7-3h3.8z"></path></svg></span></span>
Tumblr
</a></li> <li><a href="mailto:?subject=JDoodle%20-%20free%20Online%20Compiler,%20Editor%20for%20Java,%20C/C%20,%20etc.&body=https%3A%2F%2Fwww.jdoodle.com" target="_self" aria-label="" class="resp-sharing-button__link"><span class="resp-sharing-button resp-sharing-button--email resp-sharing-button--small"><span aria-hidden="true" class="resp-sharing-button__icon resp-sharing-button__icon--solid"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" height="20" width="20"><path d="M22 4H2C.9 4 0 4.9 0 6v12c0 1.1.9 2 2 2h20c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zM7.25 14.43l-3.5 2c-.08.05-.17.07-.25.07-.17 0-.34-.1-.43-.25-.14-.24-.06-.55.18-.68l3.5-2c.24-.14.55-.06.68.18.14.24.06.55-.18.68zm4.75.07c-.1 0-.2-.03-.27-.08l-8.5-5.5c-.23-.15-.3-.46-.15-.7.15-.22.46-.3.7-.14L12 13.4l8.23-5.32c.23-.15.54-.08.7.15.14.23.07.54-.16.7l-8.5 5.5c-.08.04-.17.07-.27.07zm8.93 1.75c-.1.16-.26.25-.43.25-.08 0-.17-.02-.25-.07l-3.5-2c-.24-.13-.32-.44-.18-.68s.44-.32.68-.18l3.5 2c.24.13.32.44.18.68z"></path></svg></span></span>
eMail
</a></li> <li><a href="https://www.linkedin.com/shareArticle?mini=true&url=https%3A%2F%2Fwww.jdoodle.com&title=JDoodle%20-%20free%20Online%20Compiler,%20Editor%20for%20Java,%20C/C%20,%20etc.&summary=JDoodle%20-%20free%20Online%20Compiler,%20Editor%20for%20Java,%20C/C%20,%20etc.&source=https%3A%2F%2Fwww.jdoodle.com" target="_blank" aria-label="" class="resp-sharing-button__link"><span class="resp-sharing-button resp-sharing-button--linkedin resp-sharing-button--small"><span aria-hidden="true" class="resp-sharing-button__icon resp-sharing-button__icon--solid"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" height="20" width="20"><path d="M6.5 21.5h-5v-13h5v13zM4 6.5C2.5 6.5 1.5 5.3 1.5 4s1-2.4 2.5-2.4c1.6 0 2.5 1 2.6 2.5 0 1.4-1 2.5-2.6 2.5zm11.5 6c-1 0-2 1-2 2v7h-5v-13h5V10s1.6-1.5 4-1.5c3 0 5 2.2 5 6.3v6.7h-5v-7c0-1-1-2-2-2z"></path></svg></span></span>
LinkedIn
</a></li> <li><a href="https://reddit.com/submit/?url=https%3A%2F%2Fwww.jdoodle.com" target="_blank" aria-label="" class="resp-sharing-button__link"><span class="resp-sharing-button resp-sharing-button--reddit resp-sharing-button--small"><span aria-hidden="true" class="resp-sharing-button__icon resp-sharing-button__icon--solid"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" height="20" width="20"><path d="M24 11.5c0-1.65-1.35-3-3-3-.96 0-1.86.48-2.42 1.24-1.64-1-3.75-1.64-6.07-1.72.08-1.1.4-3.05 1.52-3.7.72-.4 1.73-.24 3 .5C17.2 6.3 18.46 7.5 20 7.5c1.65 0 3-1.35 3-3s-1.35-3-3-3c-1.38 0-2.54.94-2.88 2.22-1.43-.72-2.64-.8-3.6-.25-1.64.94-1.95 3.47-2 4.55-2.33.08-4.45.7-6.1 1.72C4.86 8.98 3.96 8.5 3 8.5c-1.65 0-3 1.35-3 3 0 1.32.84 2.44 2.05 2.84-.03.22-.05.44-.05.66 0 3.86 4.5 7 10 7s10-3.14 10-7c0-.22-.02-.44-.05-.66 1.2-.4 2.05-1.54 2.05-2.84zM2.3 13.37C1.5 13.07 1 12.35 1 11.5c0-1.1.9-2 2-2 .64 0 1.22.32 1.6.82-1.1.85-1.92 1.9-2.3 3.05zm3.7.13c0-1.1.9-2 2-2s2 .9 2 2-.9 2-2 2-2-.9-2-2zm9.8 4.8c-1.08.63-2.42.96-3.8.96-1.4 0-2.74-.34-3.8-.95-.24-.13-.32-.44-.2-.68.15-.24.46-.32.7-.18 1.83 1.06 4.76 1.06 6.6 0 .23-.13.53-.05.67.2.14.23.06.54-.18.67zm.2-2.8c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm5.7-2.13c-.38-1.16-1.2-2.2-2.3-3.05.38-.5.97-.82 1.6-.82 1.1 0 2 .9 2 2 0 .84-.53 1.57-1.3 1.87z"></path></svg></span></span>
Reddit
</a></li> <li><a href="https://www.xing.com/app/user?op=share;url=https%3A%2F%2Fwww.jdoodle.com;title=JDoodle%20-%20free%20Online%20Compiler,%20Editor%20for%20Java,%20C/C%20,%20etc" target="_blank" aria-label="" class="resp-sharing-button__link"><span class="resp-sharing-button resp-sharing-button--xing resp-sharing-button--small"><span aria-hidden="true" class="resp-sharing-button__icon resp-sharing-button__icon--solid"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" height="20" width="20"><path d="M10.2 9.7l-3-5.4C7.2 4 7 4 6.8 4h-5c-.3 0-.4 0-.5.2v.5L4 10 .4 16v.5c0 .2.2.3.4.3h5c.3 0 .4 0 .5-.2l4-6.6v-.5zM24 .2l-.5-.2H18s-.2 0-.3.3l-8 14v.4l5.2 9c0 .2 0 .3.3.3h5.4s.3 0 .4-.2c.2-.2.2-.4 0-.5l-5-8.8L24 .7V.2z"></path></svg></span></span>
XING
</a></li> <li><a href="whatsapp://send?text=JDoodle%20-%20free%20Online%20Compiler,%20Editor%20for%20Java,%20C/C%20,%20etc%20https%3A%2F%2Fwww.jdoodle.com" target="_blank" aria-label="" class="resp-sharing-button__link"><span class="resp-sharing-button resp-sharing-button--whatsapp resp-sharing-button--small"><span aria-hidden="true" class="resp-sharing-button__icon resp-sharing-button__icon--solid"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" height="20" width="20"><path d="M20.1 3.9C17.9 1.7 15 .5 12 .5 5.8.5.7 5.6.7 11.9c0 2 .5 3.9 1.5 5.6L.6 23.4l6-1.6c1.6.9 3.5 1.3 5.4 1.3 6.3 0 11.4-5.1 11.4-11.4-.1-2.8-1.2-5.7-3.3-7.8zM12 21.4c-1.7 0-3.3-.5-4.8-1.3l-.4-.2-3.5 1 1-3.4L4 17c-1-1.5-1.4-3.2-1.4-5.1 0-5.2 4.2-9.4 9.4-9.4 2.5 0 4.9 1 6.7 2.8 1.8 1.8 2.8 4.2 2.8 6.7-.1 5.2-4.3 9.4-9.5 9.4zm5.1-7.1c-.3-.1-1.7-.9-1.9-1-.3-.1-.5-.1-.7.1-.2.3-.8 1-.9 1.1-.2.2-.3.2-.6.1s-1.2-.5-2.3-1.4c-.9-.8-1.4-1.7-1.6-2-.2-.3 0-.5.1-.6s.3-.3.4-.5c.2-.1.3-.3.4-.5.1-.2 0-.4 0-.5C10 9 9.3 7.6 9 7c-.1-.4-.4-.3-.5-.3h-.6s-.4.1-.7.3c-.3.3-1 1-1 2.4s1 2.8 1.1 3c.1.2 2 3.1 4.9 4.3.7.3 1.2.5 1.6.6.7.2 1.3.2 1.8.1.6-.1 1.7-.7 1.9-1.3.2-.7.2-1.2.2-1.3-.1-.3-.3-.4-.6-.5z"></path></svg></span></span>
WhatsApp
</a></li> <li><a href="https://news.ycombinator.com/submitlink?u=https%3A%2F%2Fwww.jdoodle.com&t=JDoodle%20-%20free%20Online%20Compiler,%20Editor%20for%20Java,%20C/C%20,%20etc." target="_blank" aria-label="" class="resp-sharing-button__link"><span class="resp-sharing-button resp-sharing-button--hackernews resp-sharing-button--small"><span aria-hidden="true" class="resp-sharing-button__icon resp-sharing-button__icon--solid"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 140 140" height="20" width="20"><path fill-rule="evenodd" d="M60.94 82.314L17 0h20.08l25.85 52.093c.397.927.86 1.888 1.39 2.883.53.994.995 2.02 1.393 3.08.265.4.463.764.596 1.095.13.334.262.63.395.898.662 1.325 1.26 2.618 1.79 3.877.53 1.26.993 2.42 1.39 3.48 1.06-2.254 2.22-4.673 3.48-7.258 1.26-2.585 2.552-5.27 3.877-8.052L103.49 0h18.69L77.84 83.308v53.087h-16.9v-54.08z"></path></svg></span></span>
Hackers News
</a></li> <li><a href="https://vk.com/share.php?title=JDoodle%20-%20free%20Online%20Compiler,%20Editor%20for%20Java,%20C/C%20,%20etc.&url=https%3A%2F%2Fwww.jdoodle.com" target="_blank" aria-label="" class="resp-sharing-button__link"><span class="resp-sharing-button resp-sharing-button--vk resp-sharing-button--small"><span aria-hidden="true" class="resp-sharing-button__icon resp-sharing-button__icon--solid"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" height="20" width="20"><path d="M21.547 7h-3.29a.743.743 0 0 0-.655.392s-1.312 2.416-1.734 3.23C14.734 12.813 14 12.126 14 11.11V7.603A1.104 1.104 0 0 0 12.896 6.5h-2.474a1.982 1.982 0 0 0-1.75.813s1.255-.204 1.255 1.49c0 .42.022 1.626.04 2.64a.73.73 0 0 1-1.272.503 21.54 21.54 0 0 1-2.498-4.543.693.693 0 0 0-.63-.403h-2.99a.508.508 0 0 0-.48.685C3.005 10.175 6.918 18 11.38 18h1.878a.742.742 0 0 0 .742-.742v-1.135a.73.73 0 0 1 1.23-.53l2.247 2.112a1.09 1.09 0 0 0 .746.295h2.953c1.424 0 1.424-.988.647-1.753-.546-.538-2.518-2.617-2.518-2.617a1.02 1.02 0 0 1-.078-1.323c.637-.84 1.68-2.212 2.122-2.8.603-.804 1.697-2.507.197-2.507z"></path></svg></span></span>
VK
</a></li> <li><a href="https://telegram.me/share/url?text=JDoodle%20-%20free%20Online%20Compiler,%20Editor%20for%20Java,%20C/C%20,%20etc.&url=https%3A%2F%2Fwww.jdoodle.com" target="_blank" aria-label="" class="resp-sharing-button__link"><span class="resp-sharing-button resp-sharing-button--telegram resp-sharing-button--small"><span aria-hidden="true" class="resp-sharing-button__icon resp-sharing-button__icon--solid"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" height="20" width="20"><path d="M.707 8.475C.275 8.64 0 9.508 0 9.508s.284.867.718 1.03l5.09 1.897 1.986 6.38a1.102 1.102 0 0 0 1.75.527l2.96-2.41a.405.405 0 0 1 .494-.013l5.34 3.87a1.1 1.1 0 0 0 1.046.135 1.1 1.1 0 0 0 .682-.803l3.91-18.795A1.102 1.102 0 0 0 22.5.075L.706 8.475z"></path></svg></span></span>
Telegram
</a></li></ul></div></div></div> <div class="lang-title">Java</div></div></div></div> <div class="margin-top-10px col-xs-12 text-center error well" style="display: none;"></div> <div><div class="row"><div class="padding-left-right-none hidden-print text-center ad-area-top"><ins data-ad-client="ca-pub-8361819892821196" data-ad-slot="1021547331" data-ad-format="auto" class="adsbygoogle" style="display: block; height: 90px;" data-adsbygoogle-status="done"><ins id="aswift_0_expand" style="display:inline-table;border:none;height:90px;margin:0;padding:0;position:relative;visibility:visible;width:1200px;background-color:transparent;"><ins id="aswift_0_anchor" style="display:block;border:none;height:90px;margin:0;padding:0;position:relative;visibility:visible;width:1200px;background-color:transparent;"><iframe width="1200" height="90" frameborder="0" marginwidth="0" marginheight="0" vspace="0" hspace="0" allowtransparency="true" scrolling="no" allowfullscreen="true" onload="var i=this.id,s=window.google_iframe_oncopy,H=s&&s.handlers,h=H&&H[i],w=this.contentWindow,d;try{d=w.document}catch(e){}if(h&&d&&(!d.body||!d.body.firstChild)){if(h.call){setTimeout(h,0)}else if(h.match){try{h=s.upd(h,i)}catch(e){}w.location.replace(h)}}" id="aswift_0" name="aswift_0" style="left:0;position:absolute;top:0;width:1200px;height:90px;" src="./testing_linked_list_2.4_files/saved_resource(1).html"></iframe></ins></ins></ins></div> <div class="col-xs-12 code-area"><div class="code pad-top-10px"><div><div class="file-name" style="display: none;">Project Name : <span class="filename-span"></span></div> <form action="https://www.jdoodle.com/" method="post" id="doodle-form" name="doodle-form"><div class="info-text">Your Code ...</div> <div><textarea name="code" class="hide"></textarea> <div id="code" class=" ace_editor ace-xcode" style="height: 1121px;" draggable="false"><textarea class="ace_text-input" wrap="off" autocorrect="off" autocapitalize="off" spellcheck="false" style="opacity: 0; height: 14px; width: 6.59781px; left: 163.163px; top: 770px;"></textarea><div class="ace_gutter" style="display: block;"><div class="ace_layer ace_gutter-layer ace_folding-enabled" style="margin-top: 0px; height: 1130px; width: 47px;"><div class="ace_gutter-cell " style="height: 14px;">1<span class="ace_fold-widget ace_start ace_open" style="height: 14px;"></span></div><div class="ace_gutter-cell " style="height: 14px;">2<span class="ace_fold-widget ace_start ace_open" style="height: 14px;"></span></div><div class="ace_gutter-cell " style="height: 14px;">3</div><div class="ace_gutter-cell " style="height: 14px;">4</div><div class="ace_gutter-cell " style="height: 14px;">5</div><div class="ace_gutter-cell " style="height: 14px;">6</div><div class="ace_gutter-cell " style="height: 14px;">7</div><div class="ace_gutter-cell " style="height: 14px;">8</div><div class="ace_gutter-cell " style="height: 14px;">9</div><div class="ace_gutter-cell " style="height: 14px;">10</div><div class="ace_gutter-cell " style="height: 14px;">11</div><div class="ace_gutter-cell " style="height: 14px;">12</div><div class="ace_gutter-cell " style="height: 14px;">13</div><div class="ace_gutter-cell " style="height: 14px;">14</div><div class="ace_gutter-cell " style="height: 14px;">15</div><div class="ace_gutter-cell " style="height: 14px;">16</div><div class="ace_gutter-cell " style="height: 14px;">17</div><div class="ace_gutter-cell " style="height: 14px;">18</div><div class="ace_gutter-cell " style="height: 14px;">19</div><div class="ace_gutter-cell " style="height: 14px;">20</div><div class="ace_gutter-cell " style="height: 14px;">21</div><div class="ace_gutter-cell " style="height: 14px;">22</div><div class="ace_gutter-cell " style="height: 14px;">23</div><div class="ace_gutter-cell " style="height: 14px;">24</div><div class="ace_gutter-cell " style="height: 14px;">25</div><div class="ace_gutter-cell " style="height: 14px;">26</div><div class="ace_gutter-cell " style="height: 14px;">27</div><div class="ace_gutter-cell " style="height: 14px;">28</div><div class="ace_gutter-cell " style="height: 14px;">29</div><div class="ace_gutter-cell " style="height: 14px;">30</div><div class="ace_gutter-cell " style="height: 14px;">31</div><div class="ace_gutter-cell " style="height: 14px;">32</div><div class="ace_gutter-cell " style="height: 14px;">33</div><div class="ace_gutter-cell " style="height: 14px;">34</div><div class="ace_gutter-cell " style="height: 14px;">35</div><div class="ace_gutter-cell " style="height: 14px;">36</div><div class="ace_gutter-cell " style="height: 14px;">37</div><div class="ace_gutter-cell " style="height: 14px;">38</div><div class="ace_gutter-cell " style="height: 14px;">39</div><div class="ace_gutter-cell " style="height: 14px;">40</div><div class="ace_gutter-cell " style="height: 14px;">41</div><div class="ace_gutter-cell " style="height: 14px;">42</div><div class="ace_gutter-cell " style="height: 14px;">43</div><div class="ace_gutter-cell " style="height: 14px;">44</div><div class="ace_gutter-cell " style="height: 14px;">45</div><div class="ace_gutter-cell " style="height: 14px;">46</div><div class="ace_gutter-cell " style="height: 14px;">47</div><div class="ace_gutter-cell " style="height: 14px;">48</div><div class="ace_gutter-cell " style="height: 14px;">49</div><div class="ace_gutter-cell " style="height: 14px;">50</div><div class="ace_gutter-cell " style="height: 14px;">51</div><div class="ace_gutter-cell " style="height: 14px;">52</div><div class="ace_gutter-cell " style="height: 14px;">53</div><div class="ace_gutter-cell " style="height: 14px;">54</div><div class="ace_gutter-cell " style="height: 14px;">55</div><div class="ace_gutter-cell " style="height: 14px;">56</div><div class="ace_gutter-cell " style="height: 14px;">57</div><div class="ace_gutter-cell " style="height: 14px;">58</div><div class="ace_gutter-cell " style="height: 14px;">59</div><div class="ace_gutter-cell " style="height: 14px;">60</div><div class="ace_gutter-cell " style="height: 14px;">61</div><div class="ace_gutter-cell " style="height: 14px;">62</div><div class="ace_gutter-cell " style="height: 14px;">63</div><div class="ace_gutter-cell " style="height: 14px;">64</div><div class="ace_gutter-cell " style="height: 14px;">65</div><div class="ace_gutter-cell " style="height: 14px;">66</div><div class="ace_gutter-cell " style="height: 14px;">67<span class="ace_fold-widget ace_start ace_open" style="height: 14px;"></span></div><div class="ace_gutter-cell " style="height: 14px;">68</div><div class="ace_gutter-cell " style="height: 14px;">69</div><div class="ace_gutter-cell " style="height: 14px;">70</div><div class="ace_gutter-cell " style="height: 14px;">71<span class="ace_fold-widget ace_start ace_open" style="height: 14px;"></span></div><div class="ace_gutter-cell " style="height: 14px;">72</div><div class="ace_gutter-cell " style="height: 14px;">73</div><div class="ace_gutter-cell " style="height: 14px;">74</div><div class="ace_gutter-cell " style="height: 14px;">75</div><div class="ace_gutter-cell " style="height: 14px;">76</div><div class="ace_gutter-cell " style="height: 14px;">77</div><div class="ace_gutter-cell " style="height: 14px;">78</div></div><div class="ace_gutter-active-line" style="top: 770px; height: 14px;"></div></div><div class="ace_scroller" style="left: 47px; right: 0px; bottom: 17px;"><div class="ace_content" style="margin-top: 0px; width: 912px; height: 1130px; margin-left: 0px;"><div class="ace_layer ace_print-margin-layer"><div class="ace_print-margin" style="left: 531.825px; visibility: hidden;"></div></div><div class="ace_layer ace_marker-layer"><div class="ace_active-line" style="height:14px;top:770px;left:0;right:0;"></div></div><div class="ace_layer ace_text-layer" style="padding: 0px 4px;"><div class="ace_line" style="height:14px"><span class="ace_keyword">public</span> <span class="ace_keyword">class</span> <span class="ace_identifier">MyClass</span> {</div><div class="ace_line" style="height:14px"> <span class="ace_keyword">public</span> <span class="ace_keyword">static</span> <span class="ace_keyword">void</span> <span class="ace_identifier">main</span>(<span class="ace_support ace_function">String</span> <span class="ace_identifier">args</span>[]) {</div><div class="ace_line" style="height:14px"><span class="ace_indent-guide"> </span> </div><div class="ace_line" style="height:14px"><span class="ace_indent-guide"> </span> <span class="ace_identifier">Point</span> <span class="ace_identifier">node</span> <span class="ace_keyword ace_operator">=</span> <span class="ace_keyword">new</span> <span class="ace_identifier">Point</span>(<span class="ace_constant ace_numeric">100</span>,<span class="ace_constant ace_numeric">100</span>);</div><div class="ace_line" style="height:14px"><span class="ace_indent-guide"> </span> <span class="ace_identifier">Point</span> <span class="ace_identifier">node2</span> <span class="ace_keyword ace_operator">=</span> <span class="ace_keyword">new</span> <span class="ace_identifier">Point</span>(<span class="ace_constant ace_numeric">230</span>,<span class="ace_constant ace_numeric">230</span>);</div><div class="ace_line" style="height:14px"><span class="ace_indent-guide"> </span> <span class="ace_identifier">Point</span> <span class="ace_identifier">node3</span> <span class="ace_keyword ace_operator">=</span> <span class="ace_keyword">new</span> <span class="ace_identifier">Point</span>(<span class="ace_constant ace_numeric">150</span>,<span class="ace_constant ace_numeric">150</span>);</div><div class="ace_line" style="height:14px"><span class="ace_indent-guide"> </span> <span class="ace_identifier">Point</span> <span class="ace_identifier">node4</span> <span class="ace_keyword ace_operator">=</span> <span class="ace_keyword">new</span> <span class="ace_identifier">Point</span>(<span class="ace_constant ace_numeric">170</span>,<span class="ace_constant ace_numeric">170</span>);</div><div class="ace_line" style="height:14px"><span class="ace_indent-guide"> </span> </div><div class="ace_line" style="height:14px"><span class="ace_indent-guide"> </span> </div><div class="ace_line" style="height:14px"><span class="ace_indent-guide"> </span> <span class="ace_identifier">Point</span> <span class="ace_identifier">next</span> <span class="ace_keyword ace_operator">=</span> <span class="ace_identifier">node</span>.<span class="ace_identifier">next</span>;</div><div class="ace_line" style="height:14px"><span class="ace_indent-guide"> </span> <span class="ace_identifier">node</span>.<span class="ace_identifier">next</span><span class="ace_keyword ace_operator">=</span> <span class="ace_constant ace_language">null</span>;</div><div class="ace_line" style="height:14px"><span class="ace_indent-guide"> </span> </div><div class="ace_line" style="height:14px"><span class="ace_indent-guide"> </span> <span class="ace_identifier">Point</span> <span class="ace_identifier">next2</span> <span class="ace_keyword ace_operator">=</span> <span class="ace_identifier">node2</span>.<span class="ace_identifier">next</span>;</div><div class="ace_line" style="height:14px"><span class="ace_indent-guide"> </span> <span class="ace_identifier">node2</span>.<span class="ace_identifier">next</span><span class="ace_keyword ace_operator">=</span> <span class="ace_constant ace_language">null</span>;</div><div class="ace_line" style="height:14px"><span class="ace_indent-guide"> </span> </div><div class="ace_line" style="height:14px"><span class="ace_indent-guide"> </span> <span class="ace_identifier">Point</span> <span class="ace_identifier">next3</span> <span class="ace_keyword ace_operator">=</span> <span class="ace_identifier">node3</span>.<span class="ace_identifier">next</span>;</div><div class="ace_line" style="height:14px"><span class="ace_indent-guide"> </span> <span class="ace_identifier">node3</span>.<span class="ace_identifier">next</span><span class="ace_keyword ace_operator">=</span> <span class="ace_constant ace_language">null</span>;</div><div class="ace_line" style="height:14px"><span class="ace_indent-guide"> </span> </div><div class="ace_line" style="height:14px"><span class="ace_indent-guide"> </span> <span class="ace_identifier">Point</span> <span class="ace_identifier">next4</span> <span class="ace_keyword ace_operator">=</span> <span class="ace_identifier">node4</span>.<span class="ace_identifier">next</span>;</div><div class="ace_line" style="height:14px"><span class="ace_indent-guide"> </span> <span class="ace_identifier">node4</span>.<span class="ace_identifier">next</span><span class="ace_keyword ace_operator">=</span> <span class="ace_constant ace_language">null</span>;</div><div class="ace_line" style="height:14px"><span class="ace_indent-guide"> </span> </div><div class="ace_line" style="height:14px"> </div><div class="ace_line" style="height:14px"><span class="ace_indent-guide"> </span> </div><div class="ace_line" style="height:14px"><span class="ace_indent-guide"> </span> <span class="ace_identifier">Point</span> <span class="ace_identifier">ptstart</span> <span class="ace_keyword ace_operator">=</span><span class="ace_constant ace_language">null</span>;</div><div class="ace_line" style="height:14px"><span class="ace_indent-guide"> </span> <span class="ace_identifier">Point</span> <span class="ace_identifier">ptend</span> <span class="ace_keyword ace_operator">=</span> <span class="ace_constant ace_language">null</span>;</div><div class="ace_line" style="height:14px"><span class="ace_indent-guide"> </span> </div><div class="ace_line" style="height:14px"><span class="ace_indent-guide"> </span> <span class="ace_identifier">ptstart</span> <span class="ace_keyword ace_operator">=</span> <span class="ace_identifier">node</span>;</div><div class="ace_line" style="height:14px"><span class="ace_indent-guide"> </span> <span class="ace_identifier">ptend</span> <span class="ace_keyword ace_operator">=</span> <span class="ace_identifier">ptstart</span>;</div><div class="ace_line" style="height:14px"><span class="ace_indent-guide"> </span> </div><div class="ace_line" style="height:14px"><span class="ace_indent-guide"> </span> <span class="ace_support ace_function">System</span>.<span class="ace_identifier">out</span>.<span class="ace_identifier">println</span>(<span class="ace_string">"PointNode: "</span> <span class="ace_keyword ace_operator">+</span> <span class="ace_identifier">node</span>.<span class="ace_identifier">x</span> <span class="ace_keyword ace_operator">+</span> <span class="ace_string">", "</span> <span class="ace_keyword ace_operator">+</span> <span class="ace_identifier">node</span>.<span class="ace_identifier">y</span><span class="ace_keyword ace_operator">+</span> <span class="ace_string">", "</span> <span class="ace_keyword ace_operator">+</span><span class="ace_identifier">node</span>.<span class="ace_identifier">next</span>);</div><div class="ace_line" style="height:14px"><span class="ace_indent-guide"> </span> <span class="ace_support ace_function">System</span>.<span class="ace_identifier">out</span>.<span class="ace_identifier">println</span>(<span class="ace_string">"ptstart: "</span> <span class="ace_keyword ace_operator">+</span> <span class="ace_identifier">ptstart</span>.<span class="ace_identifier">x</span> <span class="ace_keyword ace_operator">+</span> <span class="ace_string">", "</span> <span class="ace_keyword ace_operator">+</span> <span class="ace_identifier">ptstart</span>.<span class="ace_identifier">y</span><span class="ace_keyword ace_operator">+</span> <span class="ace_string">", "</span> <span class="ace_keyword ace_operator">+</span><span class="ace_identifier">ptstart</span>.<span class="ace_identifier">next</span>);</div><div class="ace_line" style="height:14px"><span class="ace_indent-guide"> </span> <span class="ace_support ace_function">System</span>.<span class="ace_identifier">out</span>.<span class="ace_identifier">println</span>(<span class="ace_string">"ptend: "</span> <span class="ace_keyword ace_operator">+</span> <span class="ace_identifier">ptend</span>.<span class="ace_identifier">x</span> <span class="ace_keyword ace_operator">+</span> <span class="ace_string">", "</span> <span class="ace_keyword ace_operator">+</span> <span class="ace_identifier">ptend</span>.<span class="ace_identifier">y</span> <span class="ace_keyword ace_operator">+</span> <span class="ace_string">", "</span> <span class="ace_keyword ace_operator">+</span> <span class="ace_identifier">ptend</span>.<span class="ace_identifier">next</span>);</div><div class="ace_line" style="height:14px"><span class="ace_indent-guide"> </span> </div><div class="ace_line" style="height:14px"><span class="ace_indent-guide"> </span> </div><div class="ace_line" style="height:14px"> <span class="ace_identifier">ptend</span>.<span class="ace_identifier">next</span> <span class="ace_keyword ace_operator">=</span> <span class="ace_identifier">node2</span>;</div><div class="ace_line" style="height:14px"><span class="ace_indent-guide"> </span> </div><div class="ace_line" style="height:14px"> <span class="ace_support ace_function">System</span>.<span class="ace_identifier">out</span>.<span class="ace_identifier">println</span>(<span class="ace_string">"ptend: "</span> <span class="ace_keyword ace_operator">+</span> <span class="ace_identifier">ptend</span>.<span class="ace_identifier">x</span> <span class="ace_keyword ace_operator">+</span> <span class="ace_string">", "</span> <span class="ace_keyword ace_operator">+</span> <span class="ace_identifier">ptend</span>.<span class="ace_identifier">y</span> <span class="ace_keyword ace_operator">+</span> <span class="ace_string">", "</span> <span class="ace_keyword ace_operator">+</span> <span class="ace_string">"the next node "</span> <span class="ace_keyword ace_operator">+</span> <span class="ace_identifier">ptend</span>.<span class="ace_identifier">next</span>.<span class="ace_identifier">x</span> <span class="ace_keyword ace_operator">+</span> <span class="ace_string">", "</span> <span class="ace_keyword ace_operator">+</span> <span class="ace_identifier">ptend</span>.<span class="ace_identifier">next</span>.<span class="ace_identifier">y</span> );</div><div class="ace_line" style="height:14px"><span class="ace_indent-guide"> </span> </div><div class="ace_line" style="height:14px"> <span class="ace_identifier">ptend</span> <span class="ace_keyword ace_operator">=</span> <span class="ace_identifier">node2</span>;</div><div class="ace_line" style="height:14px"><span class="ace_indent-guide"> </span> </div><div class="ace_line" style="height:14px"> <span class="ace_support ace_function">System</span>.<span class="ace_identifier">out</span>.<span class="ace_identifier">println</span>(<span class="ace_string">"ptend: "</span> <span class="ace_keyword ace_operator">+</span> <span class="ace_identifier">ptend</span>.<span class="ace_identifier">x</span> <span class="ace_keyword ace_operator">+</span> <span class="ace_string">", "</span> <span class="ace_keyword ace_operator">+</span> <span class="ace_identifier">ptend</span>.<span class="ace_identifier">y</span> <span class="ace_keyword ace_operator">+</span> <span class="ace_string">", "</span> <span class="ace_keyword ace_operator">+</span> <span class="ace_string">"the node of start next "</span> <span class="ace_keyword ace_operator">+</span> <span class="ace_identifier">ptstart</span>.<span class="ace_identifier">next</span>.<span class="ace_identifier">x</span> <span class="ace_keyword ace_operator">+</span> <span class="ace_string">", "</span> <span class="ace_keyword ace_operator">+</span> <span class="ace_identifier">ptstart</span>.<span class="ace_identifier">next</span>.<span class="ace_identifier">x</span>);</div><div class="ace_line" style="height:14px"><span class="ace_indent-guide"> </span> </div><div class="ace_line" style="height:14px"><span class="ace_indent-guide"> </span> </div><div class="ace_line" style="height:14px"> <span class="ace_identifier">ptend</span>.<span class="ace_identifier">next</span> <span class="ace_keyword ace_operator">=</span> <span class="ace_identifier">node3</span>;</div><div class="ace_line" style="height:14px"><span class="ace_indent-guide"> </span> </div><div class="ace_line" style="height:14px"> <span class="ace_support ace_function">System</span>.<span class="ace_identifier">out</span>.<span class="ace_identifier">println</span>(<span class="ace_string">"ptend: "</span> <span class="ace_keyword ace_operator">+</span> <span class="ace_identifier">ptend</span>.<span class="ace_identifier">x</span> <span class="ace_keyword ace_operator">+</span> <span class="ace_string">", "</span> <span class="ace_keyword ace_operator">+</span> <span class="ace_identifier">ptend</span>.<span class="ace_identifier">y</span> <span class="ace_keyword ace_operator">+</span> <span class="ace_string">", "</span> <span class="ace_keyword ace_operator">+</span> <span class="ace_string">"the next node "</span> <span class="ace_keyword ace_operator">+</span> <span class="ace_identifier">ptend</span>.<span class="ace_identifier">next</span>.<span class="ace_identifier">x</span> <span class="ace_keyword ace_operator">+</span> <span class="ace_string">", "</span> <span class="ace_keyword ace_operator">+</span> <span class="ace_identifier">ptend</span>.<span class="ace_identifier">next</span>.<span class="ace_identifier">y</span> );</div><div class="ace_line" style="height:14px"><span class="ace_indent-guide"> </span> </div><div class="ace_line" style="height:14px"> <span class="ace_identifier">ptend</span> <span class="ace_keyword ace_operator">=</span> <span class="ace_identifier">node3</span>;</div><div class="ace_line" style="height:14px"> </div><div class="ace_line" style="height:14px"> <span class="ace_support ace_function">System</span>.<span class="ace_identifier">out</span>.<span class="ace_identifier">println</span>(<span class="ace_string">"ptend: "</span> <span class="ace_keyword ace_operator">+</span> <span class="ace_identifier">ptend</span>.<span class="ace_identifier">x</span> <span class="ace_keyword ace_operator">+</span> <span class="ace_string">", "</span> <span class="ace_keyword ace_operator">+</span> <span class="ace_identifier">ptend</span>.<span class="ace_identifier">y</span> <span class="ace_keyword ace_operator">+</span> <span class="ace_string">", "</span> <span class="ace_keyword ace_operator">+</span> <span class="ace_string">"the node of start next "</span> <span class="ace_keyword ace_operator">+</span> <span class="ace_identifier">ptstart</span>.<span class="ace_identifier">next</span>.<span class="ace_identifier">x</span> <span class="ace_keyword ace_operator">+</span> <span class="ace_string">", "</span> <span class="ace_keyword ace_operator">+</span> <span class="ace_identifier">ptstart</span>.<span class="ace_identifier">next</span>.<span class="ace_identifier">x</span>);</div><div class="ace_line" style="height:14px"> </div><div class="ace_line" style="height:14px"> <span class="ace_identifier">ptend</span>.<span class="ace_identifier">next</span> <span class="ace_keyword ace_operator">=</span> <span class="ace_identifier">node4</span>;</div><div class="ace_line" style="height:14px"><span class="ace_indent-guide"> </span> </div><div class="ace_line" style="height:14px"> <span class="ace_support ace_function">System</span>.<span class="ace_identifier">out</span>.<span class="ace_identifier">println</span>(<span class="ace_string">"ptend: "</span> <span class="ace_keyword ace_operator">+</span> <span class="ace_identifier">ptend</span>.<span class="ace_identifier">x</span> <span class="ace_keyword ace_operator">+</span> <span class="ace_string">", "</span> <span class="ace_keyword ace_operator">+</span> <span class="ace_identifier">ptend</span>.<span class="ace_identifier">y</span> <span class="ace_keyword ace_operator">+</span> <span class="ace_string">", "</span> <span class="ace_keyword ace_operator">+</span> <span class="ace_string">"the next node "</span> <span class="ace_keyword ace_operator">+</span> <span class="ace_identifier">ptend</span>.<span class="ace_identifier">next</span>.<span class="ace_identifier">x</span> <span class="ace_keyword ace_operator">+</span> <span class="ace_string">", "</span> <span class="ace_keyword ace_operator">+</span> <span class="ace_identifier">ptend</span>.<span class="ace_identifier">next</span>.<span class="ace_identifier">y</span> );</div><div class="ace_line" style="height:14px"><span class="ace_indent-guide"> </span> </div><div class="ace_line" style="height:14px"> <span class="ace_identifier">ptend</span> <span class="ace_keyword ace_operator">=</span> <span class="ace_identifier">node4</span>;</div><div class="ace_line" style="height:14px"> </div><div class="ace_line" style="height:14px"> <span class="ace_support ace_function">System</span>.<span class="ace_identifier">out</span>.<span class="ace_identifier">println</span>(<span class="ace_string">"ptend: "</span> <span class="ace_keyword ace_operator">+</span> <span class="ace_identifier">ptend</span>.<span class="ace_identifier">x</span> <span class="ace_keyword ace_operator">+</span> <span class="ace_string">", "</span> <span class="ace_keyword ace_operator">+</span> <span class="ace_identifier">ptend</span>.<span class="ace_identifier">y</span> <span class="ace_keyword ace_operator">+</span> <span class="ace_string">", "</span> <span class="ace_keyword ace_operator">+</span> <span class="ace_string">"the node of start next "</span> <span class="ace_keyword ace_operator">+</span> <span class="ace_identifier">ptstart</span>.<span class="ace_identifier">next</span>.<span class="ace_identifier">x</span> <span class="ace_keyword ace_operator">+</span> <span class="ace_string">", "</span> <span class="ace_keyword ace_operator">+</span> <span class="ace_identifier">ptstart</span>.<span class="ace_identifier">next</span>.<span class="ace_identifier">x</span>);</div><div class="ace_line" style="height:14px"> <span class="ace_comment">//pt1.x = 200;</span></div><div class="ace_line" style="height:14px"> <span class="ace_comment">//pt1.x = 200;</span></div><div class="ace_line" style="height:14px"> <span class="ace_comment">//pt1.y = 200;</span></div><div class="ace_line" style="height:14px"><span class="ace_indent-guide"> </span> </div><div class="ace_line" style="height:14px"> <span class="ace_comment">// System.out.println("Point2: " + pt2.x + ", " + pt2.y);</span></div><div class="ace_line" style="height:14px"> }</div><div class="ace_line" style="height:14px">}</div><div class="ace_line" style="height:14px"></div><div class="ace_line" style="height:14px"><span class="ace_keyword">class</span> <span class="ace_identifier">Point</span> {</div><div class="ace_line" style="height:14px"> <span class="ace_keyword">int</span> <span class="ace_identifier">x</span>;</div><div class="ace_line" style="height:14px"> <span class="ace_keyword">int</span> <span class="ace_identifier">y</span>;</div><div class="ace_line" style="height:14px"> <span class="ace_identifier">Point</span> <span class="ace_identifier">next</span>;</div><div class="ace_line" style="height:14px"> <span class="ace_keyword">public</span> <span class="ace_identifier">Point</span>(<span class="ace_keyword">int</span> <span class="ace_identifier">x</span>,<span class="ace_keyword">int</span> <span class="ace_identifier">y</span>){</div><div class="ace_line" style="height:14px"><span class="ace_indent-guide"> </span> <span class="ace_keyword">this</span>.<span class="ace_identifier">x</span> <span class="ace_keyword ace_operator">=</span> <span class="ace_identifier">x</span>;</div><div class="ace_line" style="height:14px"><span class="ace_indent-guide"> </span> <span class="ace_keyword">this</span>.<span class="ace_identifier">y</span> <span class="ace_keyword ace_operator">=</span> <span class="ace_identifier">y</span>;</div><div class="ace_line" style="height:14px"> }</div><div class="ace_line" style="height:14px"> </div><div class="ace_line" style="height:14px">}</div><div class="ace_line" style="height:14px"></div><div class="ace_line" style="height:14px"></div></div><div class="ace_layer ace_marker-layer"></div><div class="ace_layer ace_cursor-layer ace_hidden-cursors"><div class="ace_cursor" style="left: 116.163px; top: 770px; width: 6.59781px; height: 14px;"></div></div></div></div><div class="ace_scrollbar ace_scrollbar-v" style="width: 22px; bottom: 17px; display: none;"><div class="ace_scrollbar-inner" style="width: 22px; height: 1092px;"></div></div><div class="ace_scrollbar ace_scrollbar-h" style="height: 22px; left: 47px; right: 0px;"><div class="ace_scrollbar-inner" style="height: 22px; width: 912px;"></div></div><div style="height: auto; width: auto; top: 0px; left: 0px; visibility: hidden; position: absolute; white-space: pre; font: inherit; overflow: hidden;"><div style="height: auto; width: auto; top: 0px; left: 0px; visibility: hidden; position: absolute; white-space: pre; font: inherit; overflow: visible;"></div><div style="height: auto; width: auto; top: 0px; left: 0px; visibility: hidden; position: absolute; white-space: pre; font-style: inherit; font-variant: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: inherit; overflow: visible;">XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX</div></div></div></div> <div class="row"><div class="col-sm-6"><div class="arguments"><div class="info-text">CommandLine Arguments ...</div> <div class="form-group"><input type="text" name="arguments" class="form-control"></div></div> <div class="arguments form-group"><div class="info-text">Stdin Inputs...</div> <div><textarea rows="2" name="stdin" class="form-control"></textarea></div></div></div> <div class="col-sm-6"><div><div class="info-text interaction-mode-text">Interactive mode : </div> <div class="interactive-mode"><div class="switch-button-background"><div class="switch-button-button interactive-on" style="display: none;"></div> <div class="switch-button-button interactive-off"></div></div> <span class="switch-button-label off">OFF</span> <span class="switch-button-label on" style="display: none;">ON</span></div> <br></div> <div><div class="info-text interaction-mode-text">Focus View: </div> <div class="interactive-mode"><div class="switch-button-background"><div class="switch-button-button interactive-on" style="display: none;"></div> <div class="switch-button-button interactive-off"></div></div> <span class="switch-button-label off">OFF</span> <span class="switch-button-label on" style="display: none;">ON</span></div> <br></div> <div><div class="info-text interaction-mode-text">Version : </div> <div class="inline-block"><select class="version-dropdown"><option value="0">JDK 1.8.0_66</option><option value="1"> JDK 9.0.1</option><option value="2"> JDK 10.0.1</option></select></div></div> <div id="libraries"><div class="pad-top-10px info-text">External Libraries ...
<button type="button" class="btn btn-default btn-xs lib-button hidden-print"><span class="glyphicon glyphicon-plus-sign"></span> Add External Library (from Maven Repo)
</button></div> <ul id="lib-list" type="none"></ul></div></div></div> <div class="text-center error" style="display: none;">Please <a href="javascript:">Login</a> to use this function</div> <div class="text-center error strong" style="display: none;"></div> <div class="text-center blue strong" style="display: none;"></div> <!----> <div class="text-center hidden-print"><button type="button" class="btn btn-xs btn-primary margin-top-10px"><span style=""><span class="glyphicon glyphicon-play-circle"></span> Execute </span> <span style="display: none;"><img src="./testing_linked_list_2.4_files/spinner.gif"> Executing...</span></button> <button type="button" class="btn btn-xs btn-info margin-top-10px">Save</button> <button type="button" title="User's Saved Files" class="btn btn-xs btn-info margin-top-10px"> My Projects</button> <button type="button" title="Recently executed codes in current Sesssion" class="btn btn-xs btn-info margin-top-10px"> Recent </button> <button type="button" title="Collaborate live while coding" class="btn btn-xs btn-info margin-top-10px">Collaborate</button> <a type="button" href="https://www.jdoodle.com/faq" target="_blank" class="btn btn-xs btn-success margin-top-10px"> FAQ</a> <div class="btn-group margin-top-10px"><button type="button" data-toggle="dropdown" class="btn btn-xs btn-info dropdown-toggle">More Options <span class="caret"></span></button> <ul class="dropdown-menu text-left pull-right"><li><a href="javascript:">New Project / Clear All</a></li> <li class="divider"></li> <li class="share-li"><a href="javascript:"><span>Share - Embed in a Blog or Website</span> <span style="display: none;">Unshare - Disable Embedding to Blog or Website</span></a></li> <li><a href="javascript:">Save as</a></li> <li><a href="javascript:">Copy</a></li> <li class="divider"></li> <li><input type="file" id="openFile" class="hidden"> <label for="openFile" class="open-file-label">Open (from local file)</label></li> <li><a href="javascript:">Download/Save (to local file)</a></li> <li class="divider"></li> <li><a href="javascript:">Switch Theme</a></li> <li><a href="javascript:">Pretty Print</a></li></ul></div> <div style="display: none;"><input type="checkbox" id="auto_save"> <label for="auto_save" class="autosave">auto save when execute</label></div> <div class="row text-center"><div class="col-sm-6 col-xs-12 form-group embed-url" style="display: none;">Share URL <input type="text" readonly="readonly" class="form-control"></div> <div class="col-sm-6 col-xs-12 form-group embed-url" style="display: none;"><div>Embed URL <input type="text" readonly="readonly" class="form-control"></div> <div class="how-to-embed"> (<a href="http://blog.nutpan.com/2016/07/run-programs-directly-from-your-blog-or.html" target="_blank">how to embed to a blog or website</a>)</div></div></div></div> <div><div class="info-text result">Result... </div> <div class="row text-success execute-time" style=""><div class="col-sm-6"><span>CPU Time: 0.25 sec(s), Memory: 29404 kilobyte(s)</span></div> <div class="col-sm-6 text-right">compiled and executed in 1.844 sec(s)</div></div> <div id="output" class="editor ace_editor ace-xcode" style="height: 192px;"><textarea class="ace_text-input" wrap="off" autocorrect="off" autocapitalize="off" spellcheck="false" style="opacity: 0; height: 14px; width: 6.59781px; left: 20px; top: 20px;"></textarea><div class="ace_gutter" style="display: none;"><div class="ace_layer ace_gutter-layer ace_folding-enabled" style="margin-top: 20px;"></div><div class="ace_gutter-active-line" style="top: 20px; height: 14px;"></div></div><div class="ace_scroller" style="left: 0px; right: 0px; bottom: 0px;"><div class="ace_content" style="margin-top: 20px; width: 872px; height: 218px; margin-left: 0px;"><div class="ace_layer ace_print-margin-layer"><div class="ace_print-margin" style="left: 547.825px; visibility: hidden;"></div></div><div class="ace_layer ace_marker-layer"><div class="ace_active-line" style="height:14px;top:0px;left:0;right:0;"></div></div><div class="ace_layer ace_text-layer" style="padding: 0px 20px;"><div class="ace_line" style="height:14px">PointNode: 100, 100, null</div><div class="ace_line" style="height:14px">ptstart: 100, 100, null</div><div class="ace_line" style="height:14px">ptend: 100, 100, null</div><div class="ace_line" style="height:14px">ptend: 100, 100, the next node 230, 230</div><div class="ace_line" style="height:14px">ptend: 230, 230, the node of start next 230, 230</div><div class="ace_line" style="height:14px">ptend: 230, 230, the next node 150, 150</div><div class="ace_line" style="height:14px">ptend: 150, 150, the node of start next 230, 230</div><div class="ace_line" style="height:14px">ptend: 150, 150, the next node 170, 170</div><div class="ace_line" style="height:14px">ptend: 170, 170, the node of start next 230, 230</div><div class="ace_line" style="height:14px"></div></div><div class="ace_layer ace_marker-layer"></div><div class="ace_layer ace_cursor-layer ace_hidden-cursors"><div class="ace_cursor" style="left: 20px; top: 0px; width: 6.59781px; height: 14px;"></div></div></div></div><div class="ace_scrollbar ace_scrollbar-v" style="display: none; width: 22px; bottom: 0px;"><div class="ace_scrollbar-inner" style="width: 22px; height: 180px;"></div></div><div class="ace_scrollbar ace_scrollbar-h" style="height: 22px; left: 0px; right: 0px; display: none;"><div class="ace_scrollbar-inner" style="height: 22px; width: 872px;"></div></div><div style="height: auto; width: auto; top: 0px; left: 0px; visibility: hidden; position: absolute; white-space: pre; font: inherit; overflow: hidden;"><div style="height: auto; width: auto; top: 0px; left: 0px; visibility: hidden; position: absolute; white-space: pre; font: inherit; overflow: visible;"></div><div style="height: auto; width: auto; top: 0px; left: 0px; visibility: hidden; position: absolute; white-space: pre; font-style: inherit; font-variant: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: inherit; overflow: visible;">XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX</div></div></div></div></form></div> <div class="row code-override" style="display: none;"><div class="col-xs-12"><form><div class="form-group col-sm-6 col-sm-offset-3"><label>Group ID</label> <input type="text" class="form-control"></div> <div class="form-group col-sm-6 col-sm-offset-3"><label>Artifact ID</label> <input type="text" class="form-control"></div> <div class="form-group col-sm-6 col-sm-offset-3"><label>Version</label> <input type="text" class="form-control"></div> <div class="col-xs-12 error text-center" style="display: none;">Please enter all values - GroupID, ArtifactID and Version</div> <div class="form-group text-center col-sm-6 col-sm-offset-3"><button type="button" class="btn btn-sm btn-primary">Add</button> <button type="button" class="btn btn-sm btn-default">Cancel</button></div> <div class="mvn-info col-xs-12 text-center">
Note: you can search maven artifact details in <a href="https://search.maven.org/" rel="nofollow" target="_blank">http://search.maven.org/</a> or <a href="https://mvnrepository.com/" rel="nofollow" target="_blank">http://mvnrepository.com/</a></div></form></div></div> <div class="row code-override" style="display: none;"><div class="col-xs-12"><div class="form-group col-sm-6 col-sm-offset-3"><label>Project Name <span style="display: none;">(Save As)</span></label> <input type="text" name="filename" placeholder="Hello World" class="form-control"></div> <div class="col-xs-12 error text-center" style="display: none;"></div> <!----> <div class="form-group text-center col-sm-6 col-sm-offset-3"><button type="button" class="btn btn-sm btn-primary">Save <span style="display: none;">As</span></button> <button type="button" class="btn btn-sm btn-default">Cancel</button></div></div></div> <div class="row code-override my-files" style="display: none;"><div class="row-fluid"><h3 class="col-xs-offset-1 col-sm-offset-0">My java Projects</h3></div> <div class="row my-files-border"><div class="col-xs-4 my-files-select-div"></div> <!----> <div class="col-xs-7 text-center" style="display: none;"><div class="wait-message">Sorry unexpected error, please try again later or contact JDoodle support.</div></div> <div class="col-sm-8 col-xs-7"><div id="myFilesEditor"></div></div></div> <div class="pad-top-10px text-center col-xs-12 error" style="display: none;">
File Deleted Successfully
</div> <div class="pad-top-10px text-center col-xs-12 error" style="display: none;">
Unable to Delete, please try again later or contact JDoodle support
</div> <div class="form-group pad-top-10px text-center col-sm-6 share-url"><div class="col-sm-4 pad-top-10px" style="display: none;">Share URL :</div> <div class="col-sm-8" style="display: none;"><input type="text" readonly="readonly" class="form-control col-sm-3"></div></div> <div class="form-group pad-top-10px text-center col-sm-6"><button type="button" class="btn btn-sm btn-primary" style="display: none;">Open</button> <button type="button" class="btn btn-sm btn-danger" style="display: none;">Remove</button> <button type="button" class="btn btn-sm btn-default">Cancel</button></div> <div class="form-group pad-top-10px text-center col-sm-6" style="display: none;"><h4> Are you sure, you want to delete this file?</h4> <button type="button" class="btn btn-sm btn-danger">Yes</button> <button type="button" class="btn btn-sm btn-default">No</button></div></div> <div class="row code-override recent" style="display: none;"><div class="row-fluid"><h3 class="col-xs-offset-1 col-sm-offset-0">Recent java Projects</h3></div> <div class="row my-files-border"><div class="col-xs-4 my-files-select-div"></div> <div class="col-xs-7 col-sm-8"><div id="recentEditor"></div></div></div> <div class="pad-top-10px text-center col-sm-12"><div class="pad-top-10px text-center col-xs-12 green" style="display: none;">
</div> <div class="form-group col-sm-6"><input type="checkbox" id="switch-storage"> <label for="switch-storage">Remember recent in this browser in future sessions</label></div> <div class="form-group col-sm-6"><button type="button" class="btn btn-sm btn-primary" style="display: none;">Open</button> <button type="button" class="btn btn-sm btn-default">Clear All</button> <button type="button" class="btn btn-sm btn-default">Cancel</button></div></div></div></div> <div></div></div> <div class="col-xs-12"><div class="margin-top-20px"></div> <div class="strong underline hidden-print text-center pad-top-20px ad-text" style="display: none;">Advertisement</div> <div class="native-js padding-left-right-none hidden-print text-center" style="display: none;"><div class="well well-sm inline-block"><a href="javascript:" class="btn btn-link"><img src="https://www.jdoodle.com/online-java-compiler" class="carbon-img-size"></a> <div class="pad-top-10px pad-bottom-10px"></div> <a class="btn btn-sm">
</a></div></div></div> <div class="col-xs-12 hidden-print"><div class="bottom-intro hidden-print">Your valuable inputs will help us improve this site <br> please give your comments. Thanks.</div> <div class="text-center row hidden-print"><div class="col-sm-8 col-xs-12 col-sm-offset-2 well well-small"><div class="btn-group dropdown text-center"><button data-toggle="dropdown" class="btn btn-sm btn-info dropdown-toggle">Other Languages/DBs Supported By JDoodle<span class="caret"></span></button> <ul class="dropdown-menu dropdown-menu-center switch-to"><div><div class="text-center well well-lg"><div class="row"><div class="input-group col-xs-12 col-sm-6 col-sm-offset-3 text-center"><input type="text" placeholder="Search IDE/Compiler/Terminal" class="form-control"> <span class="input-group-addon"><span class="glyphicon glyphicon-search"></span></span></div></div> <div class="row"><div class="col-xs-12 lang-text"><a href="https://www.jdoodle.com/online-java-compiler">Java</a></div> <div class="col-xs-12 lang-text"><a href="https://www.jdoodle.com/html-css-javascript-online-editor">HTML/CSS/Javascript</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/c-online-compiler">C</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/online-compiler-c++">C++</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/online-compiler-c++14">C++ 14</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/compile-c99-online">C99</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/compile-c-sharp-online">C#</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/php-online-editor">PHP</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-perl-online">Perl</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-ruby-online">Ruby</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/python-programming-online">Python2</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/python3-programming-online">Python3</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-sql-online">SQL</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/compile-scala-online">Scala</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/compile-vb-dot-net-online">VB.Net</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-pascal-online">Pascal</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-haskell-online">Haskell</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/compile-kotlin-online">Kotlin</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-swift-online">Swift</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-objective-c-online">Objective-C</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-groovy-online">Groovy</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-fortran-online">Fortran</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-brainfuck-online">Brainf**k</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-hack-online">Hack</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-tcl-online">TCL</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-lua-online">Lua</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-rust-online">Rust</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/compile-fsharp-online">F#</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-ada-online">Ada</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-d-online">D</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-dart-online">Dart</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-yabasic-online">YaBasic</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-freebasic-online">Free Basic</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-clojure-online">Clojure</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-verilog-online">Verilog</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-nodejs-online">NodeJS</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-scheme-online">Scheme</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-forth-online">Forth</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-prolog-online">Prolog</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/test-bash-shell-script-online">Bash</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-cobol-online">COBOL</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-octave-matlab-online">OCTAVE/Matlab</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/compile-icon-online">Icon</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/compile-coffeescript-online">CoffeeScript</a></div> <div class="col-xs-5 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/compile-assembler-gcc-online">Assembler(GCC)</a></div> <div class="col-xs-2 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-r-online">R</a></div> <div class="col-xs-5 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/compile-assembler-nasm-online">Assembler(NASM)</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/compile-intercal-online">Intercal</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/compile-nemerle-online">Nemerle</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/compile-ocaml-online">Ocaml</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-unlambda-online">Unlambda</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-picolisp-online">Picolisp</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-clisp-online">CLISP</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-elixir-online">Elixir</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-spidermonkey-online">SpiderMonkey</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-rhino-online">Rhino JS</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-bc-online">BC</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-nim-online">Nim</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-factor-online">Factor</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-falcon-online">Falcon</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-fantom-online">Fantom</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-pike-online">Pike</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-go-online">Go</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/compile-oz-mozart-online">OZ-Mozart</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-lolcode-online">LOLCODE</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-racket-online">Racket</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-smalltalk-online">SmallTalk</a></div> <div class="col-xs-4 col-sm-3 col-md-2 lang-text"><a href="https://www.jdoodle.com/execute-whitespace-online">Whitespace</a></div> <div class="col-xs-12 col-sm-12 lang-text terminal-title text-center"><span class="label label-default">Online Interactive Terminals</span></div> <div class="col-xs-6 col-sm-6 lang-text"><a href="https://www.jdoodle.com/online-mysql-terminal">MySQL</a></div> <div class="col-xs-6 col-sm-6 lang-text"><a href="https://www.jdoodle.com/online-mongodb-terminal">MongoDB</a></div> <div class="col-xs-12 col-sm-12 lang-text terminal-title text-center"><span class="label label-default">Our other Products/Websites</span></div> <div class="col-xs-12 col-sm-12 lang-text"><a href="http://calc.nutpan.com/" target="_blank" rel="nofollow">Online Interactive Calculator</a></div></div> <div class="row" style="display: none;"></div></div></div></ul></div> <div class="text-center what-next col-xs-12">Which language would you like to see next in JDoodle?</div> <div class="text-center col-sm-12"><div class="input-group col-lg-8 col-lg-offset-2"><input type="text" class="form-control"> <div class="input-group-btn"><button type="button" class="btn btn-success">Add This</button></div></div> <div id="langSuggestionThanks" class="what-next what-next-thanks" style="display: none;">
Thanks for your Input!
</div> <div id="langAlreadyExists" class="what-next what-next-thanks" style="display: none;">
is already available at <a href="https://www.jdoodle.com/online-java-compiler"></a></div></div> <div class="text-center what-next col-xs-12">Comments/Suggestions/Inputs...</div> <div class="text-center col-xs-12"><div class="col-xs-12 col-sm-12 col-lg-8 col-lg-offset-2 text-center"><textarea rows="6" class="form-control"></textarea> <div class="text-center what-next-email col-xs-12">For direct response, please include your email id in the comment <br> or email to <a href="mailto:[email protected]">[email protected]</a></div> <button type="button" class="btn btn-primary">Post Comment</button></div> <div id="commentsThanks" class="what-next what-next-thanks" style="display: none;">
Thanks for your Input!
</div></div></div></div></div></div> <div class="row"><!----></div> <div class="row"><!----></div> <!----> <!----> <!----> <!----></div> <div class="text-center loading" style="display: none;"><h2>Welcome to JDoodle</h2> <div class="wait-message">app loading now, please wait...</div> <div class="spinner"><div class="rect1"></div> <div class="rect2"></div> <div class="rect3"></div> <div class="rect4"></div> <div class="rect5"></div></div></div> <div class="pre-footer"></div></div> <div class="row footer hidden-print"><div class="contact-us">contact us at <a href="mailto:[email protected]" id="contact-us">[email protected]</a></div> <div class="copyright">© 2013- 2018 Nutpan.com All Rights Reserved</div> <div class="twitterfollow"><a href="https://twitter.com/thenutpan" rel="nofollow" data-show-count="false" data-show-screen-name="false" class="twitter-follow-button">Follow @thenutpan</a></div> <div><a href="https://www.jdoodle.com/terms">Terms of Use</a></div> <div class="terms">Terms of Use : <span class="text-info">JDoodle uses cookies</span>. All code saved/shared belongs to the respective users and no license is enforced. JDoodle or its authors are not responsible or liable for any loss or damage of any kind resulting the use of the shared code or JDoodle. JDoodle should be used only via provided UI, automated or programmatic access is prohibited (please refer robots.txt for more info). This service comes with no warranty. JDoodle.com reserves the rights to change this terms of use at any time.</div></div></div>
<link rel="stylesheet" href="./testing_linked_list_2.4_files/application-42d357baa99bbe77ca1e7f5b174fbf56.css">
<script type="text/javascript" src="./testing_linked_list_2.4_files/application-ide-90ed7d860e458a0e56f9856f744d6e94.js.download"></script>
<script async="" src="./testing_linked_list_2.4_files/f(8).txt"></script>
<script>
(function (i, s, o, g, r, a, m) {
i['GoogleAnalyticsObject'] = r;
i[r] = i[r] || function () {
(i[r].q = i[r].q || []).push(arguments)
}, i[r].l = 1 * new Date();
a = s.createElement(o),
m = s.getElementsByTagName(o)[0];
a.async = 1;
a.src = g;
m.parentNode.insertBefore(a, m)
})(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
ga('create', 'UA-42395517-1', 'jdoodle.com');
ga('send', 'pageview');
</script>
<script src="./testing_linked_list_2.4_files/api.js.download" async="" defer=""></script>
<iframe id="google_osd_static_frame_7639499399948" name="google_osd_static_frame" style="display: none; width: 0px; height: 0px;" src="./testing_linked_list_2.4_files/saved_resource(2).html"></iframe></body></html>