Groups
Groups
Sign in
Groups
Groups
java2python-discuss
Conversations
About
Send feedback
Help
how can i change this java program to python
47 views
Skip to first unread message
SHUVOJIT SAHA SHUVO
unread,
Dec 24, 2013, 5:10:41 AM
12/24/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to java2pyth...@googlegroups.com
class A
{
int a;
void test(int a)
{
this.a=a;
}
void test(A o)
{
this.a=o.a;
}
void show()
{
System.out.print("a = "+a);
}
}
class main
{
public static void main(String args[])
{
A ob1=new A();
ob1.test(6);
ob1.show();
A ob2=new A();
ob2.test(ob1);
ob2.show();
}
}
Reply all
Reply to author
Forward
0 new messages