Skip to content

Commit

Permalink
CleanUp
Browse files Browse the repository at this point in the history
  • Loading branch information
kusha-b-k authored Aug 30, 2018
1 parent e8f6e21 commit 52792ad
Showing 1 changed file with 14 additions and 17 deletions.
31 changes: 14 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Learn scala in simple way


#List of Scala Keywords
# List of Scala Keywords

@
#
Expand Down Expand Up @@ -53,19 +53,16 @@ Learn scala in simple way
while
with
yield






# How to comment in scala

type 1 :

/** This is a comment in scala defined autor kusha b k **/


type 2 :

Expand All @@ -74,7 +71,7 @@ type 2 :



#How to import package in scala
# How to import package in scala

type 1:

Expand All @@ -94,9 +91,9 @@ type 4:



##How to define mutable variables in scala
# How to define mutable variables in scala

#1. How to define integer variables in Scala
# 1. How to define integer variables in Scala


syntax 1
Expand All @@ -117,7 +114,7 @@ examples
var myIntvalueInit = 100


##2. How to define Double variables in Scala
# 2. How to define Double variables in Scala

syntax 1

Expand All @@ -138,7 +135,7 @@ examples


##3. How to define Floating variables in Scala
# 3. How to define Floating variables in Scala


syntax 1
Expand All @@ -159,7 +156,7 @@ examples
var myfloatvalueInit = 100.0f

##4. How to define String variables in Scala
# 4. How to define String variables in Scala

syntax 1

Expand All @@ -180,7 +177,7 @@ examples


##5. How to define Character variables in Scala
# 5. How to define Character variables in Scala

syntax 1

Expand All @@ -199,13 +196,13 @@ examples

var mycharvalueInit = 'K'

#How to print out put in scala
# How to print out put in scala

println("This is my output")
#How to Define array in scala
# How to Define array in scala

syntax 1:

Expand All @@ -216,7 +213,7 @@ examples
var k:Array[String] = new Array[String](10)


#Defining The function in scala
# Defining The function in scala
def thisismyfunctionname(myintvariable: Int) = { myintvariable * myintvariable }
Expand Down

0 comments on commit 52792ad

Please sign in to comment.