formatting

This commit is contained in:
2020-05-04 19:36:23 +02:00
parent d30589c5ad
commit d6f2d44eaf
4 changed files with 12 additions and 10 deletions

View File

@ -7,10 +7,10 @@ Objects are generally used to keep data logically grouped and also make it easy
to perform actions on them without having to account for all the logic at the
time of using those functions.
As an example I have created a Car class. This is probably going to be the
main class used in all further lessons, since it has a lot of room for more data
and functions to add except for manufacturer, model and the function print_info
in this example.
As an example I have created a Car class. This is probably going to be the main
class used in all further lessons, since it has a lot of room for more data and
functions to add except for manufacturer, model and the function print_info in
this example.
```java
/*
@ -47,7 +47,8 @@ a.print_info();
b.print_info();
```
The above example code together with the car class will create the following output:
The above example code together with the car class will create the following
output:
```text
Car Information: