public class Barney{
public static void barney(String myPurpleDinosaur, int myInt) {
System.out.println("My name is " + myPurpleDinosaur + ", and I'm your bestest friend");
System.out.println("I'm only " + myInt + " years old. How old are you?");
}
public static void main(String[] args) {
barney("Barney", 34);
}
}