Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0ce1282

Browse files
authored
Merge pull request#3177 from parambirs/patch-1
Fix a couple of typos in scala-for-java-programmers.md
2 parents64e112f +d021c45 commit0ce1282

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎_overviews/tutorials/scala-for-java-programmers.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@ to omit types, and when to specify them explicitly.
506506
###Methods without arguments
507507

508508
A small problem of the methods`re` and`im` is that, in
509-
order to call them, one has to put an empty pair ofparenthesis after
509+
order to call them, one has to put an empty pair ofparentheses after
510510
their name, as the following example shows:
511511

512512
{% tabs method-call-with-args-demo class=tabs-scala-version %}
@@ -811,7 +811,7 @@ code which typically makes use of these named parts.
811811

812812
A programmer familiar with the object-oriented paradigm
813813
might wonder why define a single function for`eval` outside
814-
the scope of`Tree`, and not make`eval`and abstract method in
814+
the scope of`Tree`, and not make`eval`an abstract method in
815815
`Tree`, providing overrides in each subclass of`Tree`.
816816

817817
We could have done it actually, it is a choice to make, which has

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp