You are here: Home > Computer Science CSE
All posts from

IT2301 Java Programming B.E Question Bank : dmice.ac.in

Name of the College : DMI College OF Engineering
Department : INFORMATION TECHNOLOGY
Subject Name : IT2301 Java Programming
Degree : B.E
Website : dmice.ac.in
Document Type : Question Bank

Java Programming : https://www.pdfquestion.in/uploads/dmice.ac.in/2775-IT2301.docx

DMI Java Programming Question Paper

UNIT I

PART – A :
** What is a class?
** What is an object?
** What is encapsulation? Explain with an example.
** What is polymorphism? Explain with an example.

Related : DMI College OF Engineering IT2041 Enterprise Resource Planning B.E Question Bank : www.pdfquestion.in/2781.html

** What is JVM?
** What are the access modifiers in Java?
** What are Java Buzzwords?
** What is a static variable and static method? What’s the difference between two?
** What is garbage collection?
** What is abstract class?
** What is meant by final class, methods and variables?


** What is interface?
** What is singleton class?
** What is the difference between an array and a vector?
** What is a constructor?
** What is casting?
** What is the difference between final, finally and finalize?
** What is meant by abstraction?
** What is meant by Inheritance?
** How could Java classes direct program messages to the system console, but error messages, say to a file?

16 Mark Questions :
** Explain briefly the following object oriented concepts?
** What is constructor in java? Why constructor does not have a return type in java? Explain in with proper Example?
** Discuss in detail the access specifiers available in Java?
** Why do we need static members and how to access them? Explain it with clear example?
** What does it mean that a method or a class is abstract? Can we make an instance of an abstract class? Explain with it example.
** Explain in detail as to how inheritance and polymorphism are supported in java with necessary examples?
** Explain the Date Class methods with examples?
** Explain the different methods in java.Util.Arrays class with example?
** Write a Java program to find factorial of a given number using recursion?
** Write a program to find whether a number is a palindrome or not?

UNIT II

(16 MARKS)
1 Define Inheritance
2. What are the types of inheritance?
3. How is multiple inheritance achieved in java?
4. What is the use of super keyword?
5. What are object wrappers? Give example.
6. What is Inheritance Hierarchy?
7. Differentiate overloading and overriding.
8. Define polymorphism.
9. Differentiate static binding and dynamic binding.
10. When will a class be declared as final?
11. When will a method be declared final?
12. What is an abstract class?
13. What is the need for abstract classes?
14. Explain about protected visibility control.
15. What are the methods under “object” class / java.lang.Object.
16. Explain toString method of object class.
17. What is reflection?
18. What are the uses of reflection in Java.
19. How will you create an instance of Class.
20. What are the methods under reflection used to analyze the capabilities of classes?
21. How to create arrays dynamically using reflection package.
22. Define an interface.
23. What is the need for an interface?
24. What are the properties of an interface?
25. Differentiate Abstract classes and interface.
26. What is object cloning?
27. Differentiate cloning and copying.
28. Differentiate shallow copy and deep copy in cloning.
29. Does Inheritance removes any fields/or methods of super class?
30. Mention the use of final keyword.
31. What is nested class? Mention its types.
32. What is inner class?
33. What is the need for inner classes?
34. What are the rules for inner class?
35. What is local inner class and anonymous inner class? Give their advantages.
36. Write the advantages and disadvantages of static nested class.
37. Define proxies.
38. Write the application of proxies.
39. What are the properties of proxy classes?

UNIT III

1. How is interface used to support multiple inheritance? Explain with a program.
2. Describe the various levels of access protection available in packages and their implications with an example program.
3. Explain in detail about creating and accessing packages with an example program.
4. Explain ‘Dynamic method dispatch’ with one example program.
5. Describe Method overriding. Explain it with an example.
6. Write short notes on:
i) Up casting
ii) Down casting
7. Explain in detail about different types of Inheritance
8. Explain final keyword with example?
9. Write a java Program to demonstrate abstract class
10.What is a Package? What are the benefits of using packages? Write down the steps in creating a package and using it in a java program with an example?

Leave a Reply

How to add comment : 1) Type your comment below. 2) Type your name. 3) Post comment.

www.pdfquestion.in © 2021

Contact Us   Privacy Policy   SiteMap