Skip to content

Instantly share code, notes, and snippets.

@nasminspy
Created June 8, 2016 09:52
Show Gist options
  • Save nasminspy/31aed797abeaa55a0e1ff4c03ce0d875 to your computer and use it in GitHub Desktop.
Save nasminspy/31aed797abeaa55a0e1ff4c03ce0d875 to your computer and use it in GitHub Desktop.
package com.sdl.qdox.demo;
import java.util.ArrayList;
import java.util.List;
public class DemoJava {
public void printName() {
System.out.println("Hi print name method");
}
public List<String> createListOfNames() {
List<String> names = new ArrayList<String>();
names.add("Chaman");
names.add("Nasmin");
return names;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment