Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
  • Loading branch information
sboekhoff committed Jul 5, 2016
commit 642ce1c298acbd637aa3375084eb7a105881daeb
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ String converted = converter.convert("Java");
System.out.println(converted); // "J"
```

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

```java
class Person {
Expand Down