Last active
October 17, 2019 00:04
-
-
Save DanisHack/6b046eab8d223bf47d39463d6051a7c8 to your computer and use it in GitHub Desktop.
Java sample code
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Greeting { | |
public void Greet() { | |
System.out.println("Hello from Educative!"); | |
} | |
} | |
class HelloWorld { | |
public static void main( String args[] ) { | |
Greeting obj = new Greeting(); | |
obj.Greet(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment