I think you've misunderstood something.
Try this (I've only fixed one function for you). I hope it is clear now.
CODE
import java.util.*;
public class Greetings2
{
//attributes
private String fullName;
private int age;
private char gender;
// so it becomes a class attribute instead of a local variable
//constructors
public Greetings2()
{
Scanner dunno;
dunno = new Scanner(System.in);
System.out.println("Please type in your full name: ");
fullName = dunno.nextLine();
System.out.println("Please type in your gender (m/f): ");
gender = dunno.nextLine().charAt(0);
System.out.println("Please type in your age: ");
age = dunno.nextInt();
System.out.println(fullName + "(" + gender + ", " + age + ") ");
}
//methods
public void welcome()
{
if (gender == 'm') // and you access it like like this
{
System.out.println ("Welcome, " + "Mr. " + fullName);
}
else
{
System.out.println("Welcome, " + "Ms. " + fullName);
}
}
public void impression(char sex)
{
if (sex =='m')
{
System.out.println ("Macho " + "Mr. " + fullName);
}
else
{
System.out.println("Sexy " + "Ms. " + fullName);
}
}
public void happyBirthDay(char sex)
{
if (sex =='m')
{
System.out.println ("Happy " + age +"th Birthday " + "Mr. " + fullName);
}
else
{
System.out.println("Happy " + age +"th Birthday " + "Ms. " + fullName);
}
}
public void merryChristmas(char sex)
{
if (sex =='m')
{
System.out.println ("Merry Christmas, " + "Mr. " + fullName);
}
else
{
System.out.println("Merry Christmas, " + "Ms. " + fullName);
}
}
public void runAll(char sex)
{
System.out.println("@@@ End of Demonstration @@@");
}
}
///////////////////////////////////////////////////////////////////////////
public class Test
{
public static void main (String[] args)
{
Greetings2 morris;
morris = new Greetings2();
morris.welcome();
morris.impression('m');
morris.happyBirthDay('m');
morris.merryChristmas('m');
morris.runAll('m');
}
}