It works with dependencies
This commit is contained in:
@@ -1,13 +1,14 @@
|
||||
package com.gitlesson;
|
||||
|
||||
import com.gitlesson.demolibrary.TestLibrary;
|
||||
|
||||
/**
|
||||
* Hello world!
|
||||
* Prints the string that gets from TestLibrary!
|
||||
*
|
||||
*/
|
||||
public class App
|
||||
{
|
||||
public static void main( String[] args )
|
||||
{
|
||||
System.out.println( "Hello World!" );
|
||||
public class App {
|
||||
public static void main(String[] args) {
|
||||
String test = TestLibrary.getText();
|
||||
System.out.println(test);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user