/*
java program with multiple classes
and also it shows how to create object of class
*/
class First
{
public void show()
{
System.out.println("Well come to just free knowledge");
}
}
class MultipleExample
{
public static void main(String args[])
{
First parth = new First();
parth.show();
}
}
java program with multiple classes
and also it shows how to create object of class
*/
class First
{
public void show()
{
System.out.println("Well come to just free knowledge");
}
}
class MultipleExample
{
public static void main(String args[])
{
First parth = new First();
parth.show();
}
}
0 comments:
Post a Comment