JAVA QB
JAVA QB
CHAPTER-1:
Short Answer Questions:
1.What is the importance of Java in Internet programming.
2.Compare Java and C++.
3.What is a Byte codes of java.
4.What is JVM.
5.List the features of java.
6.What do you mean by type conversion and type casting.
7.What is one-dimensional array.
8.What is two-dimensional array.
9. Define class and object.
10. Define the Usage of new operator.
11. What is constructor? Why they are used?
12. List various types of constructors.
13. What is usage of this pointer.
14.Define method.
15. What is the difference between a constructor and a method.
16. What is the purpose of static.
17. Why is main method assigned as static
18. List out the properties of static variables and methods.
19. What is method overloading.
20. What is constructor overloading.
21. Explain about static block.
22. List primitive data types in java.
23. List different way to overload a method.
24. Explain about string classes.
25. List few string methods.
26. What are command line arguments.
27. What are the various purposes of final.
28. What are final methods and final classes.
Long Answer Questions:
CHAPTER-2:
Short Answer Questions:
1. What inheritance? why it is used?
2. What is multilevel inheritance.
3. Explain method overloading.
4. Define the usage of super keyword.
5. What is an interface.
6. List the advantages of an interface.
7. Difference between abstract class and interface.
8.Define a package.
9.What is class path.
10. What is the process of importing a package.
11. List different types of access modifiers in java.
Long Answer Questions: