Question
What is the primary difference between an abstract class
and an interface in Java (pre-Java 8)?Solution
Before Java 8, interfaces could only have abstract methods (and constants). Abstract classes could have both abstract and concrete (implemented) methods. This is a key distinction. (Java 8+ introduced default and static methods in interfaces, blurring this line slightly, but the core concept remains).
Cinnabar is an ore of which metal?
Which gas is the chief component of Bio-gas?
Which of the following is used in alcoholic drinks?
Whose experiments supports Abiotic synthesis?
Which of the following pollutants is the major contributor to photochemical smog?
Which of the following fatty acids does NOT form soap?
Which of the following is the richest source of phosphorus?
"Schist" is the example of which type of rock?
Which element is known as the 'King of Chemicals.
_____________ has the maximum attraction force between the molecules.