|
Related Questions |
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
|
|
Can you write Java code for declaration of multiple inheritance in Java ?
|
View Answer
|
|
What are the Object and Class classes used for?
|
View Answer
|
|
What is Serialization and deserialization?
|
View Answer
|
|
What interface must an object implement before it can be written to a stream as an object?
|
View Answer
|