I want to know about do the file operations using the below concepts but i am having many doubts from this.first i want to know about how to implement the file related operation in the below concepts
1.Abstract class
2.Interface
3.Method overloading
4.Operator overloading
i want to know the breif explanation of the concepts. i anyone know how to implement the file related operation though file concept please reply soon as possible... :)

Delpin Susai RajPosted Oct 4, 2016, 9:52 AM
final String first = "length: 10";
final String second = "length: " + first.length();
System.out.println("first and second are equal: " + first == second);
}
Delpin Susai RajPosted Oct 4, 2016, 9:49 AM
- class Calculation{
- void sum(int a,int b){System.out.println(a+b);}
- void sum(int a,int b,int c){System.out.println(a+b+c);}
-
- public static void main(String args[]){
- Calculation obj=new Calculation();
- obj.sum(10,10,10);
- obj.sum(20,20);
-
- }
- }
or view this linkDelpin Susai RajPosted Oct 4, 2016, 9:47 AM
{
void print();
}
interface c extends s
{
void msg();
}
class R implements c
{
public void print()
{
System.out.println("Hello Print");
}
public void msg()
{
System.out.println("Hello Msg");
}
public static void main(String args[])
{
R d=new R();
d.print();
d.msg();
}
}
Delpin Susai RajPosted Oct 4, 2016, 9:43 AM