aksh1t
0
Q:

kotlin vs java

/*
JavaScript can be used to do neat things like creating 
animation in HTML. ... JavaScript code is run on a 
browser only, while Java creates applications that run 
in a virtual machine or browser. Java is an OOP 
(object-oriented programming) language, and JavaScript is
specifically an OOP scripting language.
*/
4
Kotlin is a language built on and entirely backwards-compatible with Java.
While Java is Object-Oriented first, Kotlin supports a blend
of OO and functional paradigms. For further information, refer to
kotlinlang.org
0
 setBackground(Color.cyan);   // sets predefined color cyan to background of frame
0

New to Communities?

Join the community