Skip to content

Commit dc8415e

Browse files
committed
string concatenation
1 parent 96a55d2 commit dc8415e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -511,13 +511,13 @@ Hint: `go doc math.Pi`
511511
28 String Concatenation
512512
-----------------------
513513

514-
Java:
514+
Java: Implicit conversion from float64 to String
515515

516516
```java
517517
return "the area is " + s.area();
518518
```
519519

520-
Go:
520+
Go: Explicit string formatting
521521

522522
```go
523523
return fmt.Sprintf("area is %v", s.area())

0 commit comments

Comments
 (0)