alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Scala example source code file (B_2.scala)

This example Scala source code file (B_2.scala) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Scala tags/keywords

a, a, array, array, b, b, test, test

The Scala B_2.scala source code


class B extends A {
  lazy val b0 = 71
  lazy val b1 = 72
  lazy val b2 = 73
  lazy val b3 = 74
  lazy val b4 = 75
  lazy val b5 = 76
  lazy val b6 = 77
  lazy val b7 = 78
  lazy val b8 = 79
  lazy val b9 = 80
  override def run = {
    super.run
    println(List(b0, b1, b2, b3, b4, b5, b6, b7, b8, b9))
  }

}

object Test {
  def main(args: Array[String]) {
    new B().run
  }
}

Other Scala examples (source code examples)

Here is a short list of links related to this Scala B_2.scala source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.