|
Related Questions |
View Answer |
|
What synchronization constructs does Java provide? How do they work?
|
View Answer
|
|
Are constructors inherited?Can a subclass call the parent's class constructor?When?
|
View Answer
|
|
Does Java have destructors?
|
View Answer
|
|
What does the "abstract" keyword mean in front of a method? A class?
|
View Answer
|
|
Name four methods every Java class will have.
|
View Answer
|
|
Given a text file, input.txt, provide the statement required
|
View Answer
|
|
Discuss the differences between creating a new class, extending a class and implementing an interface; and when each would be appropriate.
|
View Answer
|
|
What's the difference between the == operator and the equals() method? What test does Object.equals() use, and why?
|
View Answer
|
|
Why do you create interfaces, and when MUST you use one?
|
View Answer
|
|
What is the difference between instanceof and isInstance?
|
View Answer
|
|
Are there any other 'marker' interfaces?
|
View Answer
|
|
How many methods do u implement if implement the Serializable Interface?
|
View Answer
|
|
What are the advantages of OOPL?
|
View Answer
|
|
What do mean by polymorphism, inheritance, encapsulation?
|
View Answer
|
|
What do you mean by static methods?
|
View Answer
|
|
What do you mean by virtual methods?
|
View Answer
|
|
Given two tables Student(SID, Name, Course) and Level(SID, level) write the SQL statement to get the name and SID of the student who are taking course = 3 and at freshman level.
|
View Answer
|
|
What are the disadvantages of using threads?
|
View Answer
|
|
Write the Java code to declare any constant (say gravitational constant) and to get its value.
|
View Answer
|
|
What do you mean by multiple inheritance in C++ ?
|
View Answer
|