What do you mean by platform independence? What is an interface?



What do you mean by platform independence? What is an interface?..

Answer / Shishpal

Platform Independence refers to the ability of software to run on different hardware and operating systems without modification. An Interface in Java is a reference type that only contains abstract methods and constants. It does not provide any implementation.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

What are the two ways of implementing multi-threading in java?

2 Answers  


Write a program to find the whether a number is an Armstrong number or not?

0 Answers   Aspire, Infogain,


What will happen if non-synchronized method calls a static synchronized method and what kind of lock it acquires?

1 Answers  


explain autoboxing in java?

1 Answers  


What is lossy conversion in java?

1 Answers  


How does abstract modifier work?

1 Answers   Wipro,


Can a constructor call the constructor of parent class?

1 Answers  


can we add two numbers without using arthematic operators? if possible how?

5 Answers   CTS,


What does a boolean method return?

1 Answers  


What is Java Package and which package is imported by default?

1 Answers  


what is the difference between HashMap And HashTable?

5 Answers   Hexaware,


How do I compare two strings in word in java?

1 Answers  


Categories