Skip to content

Commit fb7ab6a

Browse files
author
Kathryn Hodge
committed
Completed 02_04
1 parent 8bcccaa commit fb7ab6a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
56 Bytes
Binary file not shown.

src/Main.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ public static void main(String[] args) {
77

88
String studentFirstName = "Kayla";
99
String studentLastName = "Hammon";
10-
char studentFirstInitial = 'K';
11-
char studentLastInitial = 'H';
10+
char studentFirstInitial = studentFirstName.charAt(0);
11+
char studentLastInitial = studentLastName.charAt(0);
1212

1313
System.out.println(studentAge);
1414
System.out.println(studentGPA);

0 commit comments

Comments
 (0)