Computer Science, asked by Anonymous, 1 year ago

Write a program in BlueJ as per the following instructions:
Class name : First
The program displays: your name, father name and postal address.

Answers

Answered by OMG6740
18
class first
{
public static void main (String args [])
{System.out. println (name: ........);
{System.out.println (father name:......);
{System.out.println (postal address:........);
}
}
}

OMG6740: welcm Sis6740. ; )
Answered by Tarun304
8
public class First
{
public void comp(String s, String fthrname, String posadd)
{
System.out.printn("Name:" + s);
System.out.println(Father's name:" +fthrname);
System.out.println("Postal Address:" +posadd);
}
}

Similar questions