-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathAssingnmentTesting.txt
More file actions
41 lines (31 loc) · 1.08 KB
/
AssingnmentTesting.txt
File metadata and controls
41 lines (31 loc) · 1.08 KB
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
$ git commit -am "Try to commit Without add"
On branch main
Your branch is up to date with 'origin/main'.
Untracked files:
(use "git add <file>..." to include in what will be committed)
Total_And_Avg.java
nothing added to commit but untracked files present (use "git add" to track)
Try qw ==> Not an editor command : qw
Try !w ==>
[No write since last change]
/usr/bin/bash: line 1: w: command not found
shell returned 127
Press ENTER or type command to continue
// Error in using Scanner without import java.util.Scanner;
$ javac HelloWorldTest.java
HelloWorldTest.java:6: error: cannot find symbol
Scanner s = new Scanner(system.in);
^
symbol: class Scanner
location: class HelloWorldTest
HelloWorldTest.java:6: error: cannot find symbol
Scanner s = new Scanner(system.in);
^
symbol: class Scanner
location: class HelloWorldTest
HelloWorldTest.java:6: error: cannot find symbol
Scanner s = new Scanner(system.in);
^
symbol: variable system
location: class HelloWorldTest
3 errors