Can someone tell my what I am doing wrong? Sorry for my english.

enter code here
public class Friend

{ private String filename = null;

public static void main(String[] args )


public void initialize(String Name)
    this.filename= Name;
public void initialize(String Name, int age)
    this.filename= Name + age;
public void initialize(String Name, int age, String sex)
    this.filename= Name + age + sex;


asked 22 Mar, 12:54

MasterOwo's gravatar image

accept rate: 0%

Ok, I understood where is problem.

(23 Mar, 09:50) MasterOwo
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 22 Mar, 12:54

Seen: 187 times

Last updated: 23 Mar, 09:50