Java True/False Questions?

I have questions of all the following. Please help~ Thank you!
# In Java, dynamic binding is used for all methods.
False, static binding is used as well?
# A class labeled as final cannot be used as a base class.
False? Can’t you still use the class as a parent class even if it is final?
# Polymorphism refers [...]

Full Story »

Easy java questions quiz?

I have a few basic java questions, see how much you actually know about java and try awnser them
1. What does Static Mean?
2. What exactly is an iterator?
3. What does // for (Collection l : ls){…}// do?
4. What do ++i and i++ mean and what is the difference?
5. What does new do?
6. Whats the difference [...]

Full Story »

what is the use of STATIC keyword in java?

Hello friends,
When we start a program in java,we should write public static void main …..
really what is the function of static. Why it is introduced in java.

Full Story »

Java question – Polymorphism?

class Cat {
String whatAmI() {
return “I’m a Cat!”;
}}
class Kitten extends Cat {
String whatAmI() {
return “I’m a Kitten!”;
}}
class NinjaKitten extends Kitten {
String isKickedBy(Kitten k) { return “Ouch!”; }
}
Cat bob = new NinjaKitten();
System.out.println(“Bob: ” + bob.whatAmI());
My question is what is bob’s static type and what is his dynamic type?

Full Story »

Java Questions………………………………………?

Java Questions
1.Can a main() method of class be invoked in another class?
2.What is the difference between java command line arguments and C command line arguments?
3.What is the difference between == & .equals
4.What is the difference between abstract class & Interface.
5.What is singleton class & it’s implementation.
6.Use of static,final variable
7.Examples of final class
8.Difference between Event [...]

Full Story »

Why are fields in java usually made private?

I think it might have to do with “encapsulation”, can anyone answer my question and explain what “encapsulation” is?

Full Story »

java certification questions with answers?

Please provide me java certification questions with the detailes explanation for each questions answers.

Full Story »

how can i install java to my computer for a interview online?

Full Story »

Does anybody know a company in the philippines that uses JAVA?

Im a sophomore student and we have this company visitation project wherein we need to interview java programmers.
can anybody help?
nope i am not looking for a job. i just need an interview. thats all.

Full Story »

Sample Java Interview Questions?

Full Story »
« Older Entries

Categories

Powered by Yahoo! Answers