var obj1 = new Object
Above snippet creates new instance of java.lang.Object.
scala> var obj1 = new Object
var obj1: Object = java.lang.Object@72f3f14c
scala>
scala> var obj2 = new Object
var obj2: Object = java.lang.Object@49bb808f
This blog is primarily focus on Java fundamentals and the libraries built on top of Java programming language. Most of the post are example oriented, hope you have fun in reading my blog....:)
No comments:
Post a Comment