mirror of
git://git.qorg11.net/kill9.git
synced 2025-02-19 23:37:00 +00:00
whoops
This commit is contained in:
parent
a5092d1b28
commit
f6f597159f
@ -17,6 +17,7 @@ Java is object oriented. So that make it suck automatically.
|
||||
|
||||
## Stupid syntax
|
||||
>\>`Car car = new Car`
|
||||
|
||||
~~~{.java .numberLines}
|
||||
public class HelloWorld {
|
||||
|
||||
@ -38,7 +39,7 @@ I'm sure the "public class" and "public static void" aren't really necessary. Th
|
||||
>\>`Object` doesn't have a new method that can be used by any object
|
||||
|
||||
|
||||
As we really care about... I don't really know what they care about,
|
||||
As we really care about... I don't really know what they care about,
|
||||
you can't change the object attributes from outside the class, so you
|
||||
have to create, for each object attribute, 2 methods, one to get the
|
||||
value of the attribute and other to set the value of the attribute. I
|
||||
|
Loading…
Reference in New Issue
Block a user