Assignment-1: Hello World
Assignment-1: Hello World
Hello World:
1) State Features of Java?
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)
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)
Multilevel inheritance:
1)
Hierarchical inheritance:
1)
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)
Abstract Demo:
1) Explain Abstract class?
2)
Method Overriding:
1) 2)
What is method overloading and method overriding? Which functions are overridden and which are not?
MethodOverloading:
1)