Core Java Interview Questions - I
May 24th, 2010
Q. What is System.out.println?
- System = final System class
- out = static PrintStream object
- println = method of a printstrem class
Q. What is difference between abstract class and interfaces.
- abstract class can provide implementation, interface has no implementation at all
- used using extends, used using implements
- both can not be instantiated