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

Commit 642ce1c

Browse files
Use class instead of bean.
A class should only be called 'bean', if: * all properties are private (use getters/setters) * it implements the Serializable interface * it has a public default constructor See: http://stackoverflow.com/questions/3295496/what-is-a-javabean-exactly
1 parent 6dd0e09 commit 642ce1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ String converted = converter.convert("Java");
167167
System.out.println(converted); // "J"
168168
```
169169

170-
Let's see how the `::` keyword works for constructors. First we define an example bean with different constructors:
170+
Let's see how the `::` keyword works for constructors. First we define an example class with different constructors:
171171

172172
```java
173173
class Person {

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /