Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
S
Session10_NargesSalehi_9628055_Part1
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
9628055
Session10_NargesSalehi_9628055_Part1
Commits
91ccc7ae
Commit
91ccc7ae
authored
Jun 10, 2020
by
nargessalehi98
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
over
parent
f0781a31
Pipeline
#5124
failed with stages
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
Client1.class
out/production/client1/Client1.class
+0
-0
Client1.java
src/Client1.java
+4
-3
No files found.
out/production/client1/Client1.class
View file @
91ccc7ae
No preview for this file type
src/Client1.java
View file @
91ccc7ae
...
...
@@ -18,10 +18,11 @@ public class Client1 {
System
.
out
.
println
(
"Unexpected exception: "
+
ioe
.
getMessage
());
}
String
line
=
""
;
while
(!
line
.
equal
s
(
"over"
))
{
while
(!
line
.
contain
s
(
"over"
))
{
try
{
assert
console
!=
null
;
line
=
console
.
readLine
();
line
=
" "
+
console
.
readLine
();
if
(
line
.
contains
(
"over"
))
System
.
exit
(
0
);
streamOut
.
writeUTF
(
line
);
streamOut
.
flush
();
}
catch
(
IOException
ioe
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment