class
Arith {
String fname="Aswath";
String lname="Narayanan";
void show() {
System.out.println("The fullname
is " + fname + " " + lname);
}
public
static void main(String args[]) {
Arith a1=new Arith();
a1.show();
}
No comments:
Post a Comment