mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 17:41:41 +00:00
Remove an extraneous space.
This commit is contained in:
parent
af29a504c0
commit
a32a8e1401
@ -279,7 +279,7 @@ val text = if (x == 10) "yeah" else "nope"
|
|||||||
// Object oriented features
|
// Object oriented features
|
||||||
|
|
||||||
// Classname is Dog
|
// Classname is Dog
|
||||||
class Dog (br: String) {
|
class Dog(br: String) {
|
||||||
var breed: String = br
|
var breed: String = br
|
||||||
//A method called bark, returning a String
|
//A method called bark, returning a String
|
||||||
def bark: String = {
|
def bark: String = {
|
||||||
|
Loading…
Reference in New Issue
Block a user