Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is Interface?

Answers were Sorted based on User's Feedback



What is Interface?..

Answer / akshay odhekar

Interface contains only declarations of methods and final
variables.Which is exposed to external world that which
methods they have to implement.External world means any
other industry/business who is going to write software for
application.

Is This Answer Correct ?    2 Yes 0 No

What is Interface?..

Answer / l.gururajan

Interface contains Abstract methods and Final variables.

Is This Answer Correct ?    1 Yes 0 No

What is Interface?..

Answer / venu

interface is a method prototype
it contains method declarations and final variables

Is This Answer Correct ?    1 Yes 0 No

What is Interface?..

Answer / javac

Interface is a special class which is fully abstracted and
by default variables declared inside an interface are
public static final and methods declared are abstract and
public.

Is This Answer Correct ?    1 Yes 0 No

What is Interface?..

Answer / nikhlesh gupta datia (m.p.)

Interface is a mechanisms used to interact with or communicate with some external devices such as data base through the java application. & every interface is define with collection of abstract function.

Is This Answer Correct ?    0 Yes 0 No

What is Interface?..

Answer / rajashree

A boundary across which two independent systems meet and
act on or communicate with each other. In computer
technology, there are several types of interfaces.
user interface - the keyboard, mouse, menus of a computer
system. The user interface allows the user to communicate
with the operating system. Also see GUI.
software interface - the languages and codes that the
applications use to communicate with each other and with
the hardware.
hardware interface - the wires, plugs and sockets that
hardware devices use to communicate with each other.

To connect with or interact with by means of an interface

Is This Answer Correct ?    0 Yes 0 No

What is Interface?..

Answer / tarun

In java Interface provides the definition of methods and
final variables. The variables can be declared as final or
not but its can not be changed or modified again. valiable
value can be decide only at the time of declaration.

for more clearance please go through the example given below.

// declaring an interface
public interface MyInterface {

public static final int y = 9;

public void service();
public int method();
public abstract void newmethod();

}

// implementing an interface by a class
public class Class1 implements MyInterface{

/**
* @param args
*/
public Class1(){
System.out.println(y);

}
public void service(){};
int i =9;


public int method(){
final int q = 10;

return q;
}

public void newmethod(){
System.out.println("Tarun");
}

public static void main(String[] args) {
// TODO Auto-generated method stub
Class1 c1 = new Class1();
}

}

Is This Answer Correct ?    0 Yes 0 No

What is Interface?..

Answer / vinoth sing

interface contains set of methods and signatures.
it contains mainly abstract class,
they can have constants which is public,static and final.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

What is an object class?

0 Answers  


what is dynamic method dispatch ?

27 Answers   Fidelity, MUET, SDSF,


How variables are stored in memory?

0 Answers  


How we can generate random numbers in java?

0 Answers  


What are the steps to do connection pooling in weblogic?

1 Answers   TCS,


Under what circumstances an object reference be cast to an interface reference?

3 Answers  


what is the difference between a java object reference and c++ pointer?

4 Answers  


How many arguments can a method have java?

0 Answers  


Read data from console and print in one file. That would be in C:\temp ? Thanks, Bose

3 Answers   Oracle, Surya Software,


If I will write String s=new String("XYZ"); String s1=new String("XYZ"); if(s.equals(s1)){ sop("True"); } else{ sop("False"); } This program will give me "True". But When I am creating my own class suppose class Employee{ public Employee(String name); } Employee e= new Employee("XYZ"); Employee e1 = neew Employee("XYZ"); if(e.equals(e1)){ sop("True"); } else{ sop("False"); } Then it will give the output as "False". Can I know what is happening internally?

5 Answers  


Explain about automatic type conversion in java?

0 Answers  


Can a class be a super class and a sub-class at the same time? Give example.

1 Answers  


Categories