ASSIGNMENT-1
Hello World:
1) State Features of Java?
2) Describe public static void main(String args[ ])
Command Line:
1) 2) 3)
What are Class, Constructor and Primitive data types? What is an Object and how do you allocate memory to it? What is an Object and how do you allocate memory to it?
ASSIGNMENT-2
2-dimentional array:
1)
What is the difference between Integer and int?
2) What is package?
Simple array:
1) 2)
What is the difference between Array and vector? Are there any global variables in Java, which can be accessed by other part of your program?
Zig-zag array:
1) 2)
What is the difference between String and String Buffer? Are there any global variables in Java, which can be accessed by other part of your program?
3)
What is a stream and what are the types of Streams and classes of the Streams?
Complex:
1) 2)
What are methods and how are they defined? What is the use of bin and lib in JDK?
ASSIGNMENT-3
Simple inheritance:
1)
What is meant by Inheritance and what are its advantages?
Multilevel inheritance:
1)
What is the difference between superclass and subclass?
Hierarchical inheritance:
1)
What is the difference between this() and super()?
Interface sort:
1) 2)
What is interface and its use? What is the difference between abstract class and interface?
Final keyword:
1) What is Final?
2)
What is final, finalize() and finally?
Abstract Demo:
1) Explain Abstract class?
2)
What is the difference between abstract class and interface?
Method Overriding:
1) 2)
What is method overloading and method overriding? Which functions are overridden and which are not?
MethodOverloading:
1)
What is difference between overloading and overriding?