All posts from

IT2301 Java Programming B.E Question Bank : valliammai.co.in

Name of the College : Valliammai Engineering College
University : Anna University
Department : Information Technology
Subject Code/Name : IT2301-Java Programming
Degree : B.Tech – IT
Year : III
Semester : V
Document Type : Question Bank
Website : valliammai.co.in

Download :https://www.pdfquestion.in/uploads/va…rogramming.pdf

Valliammai Java Programming Question Paper

Unit-I

Part-A (2 Marks) :
1.What is meant by ‘static’ in java?
2.What is the difference between a constructor and a method?
3.List the features of Java

Related :  Valliammai Engineering College MG2452 Engineering Economics & Financial Accounting B.E Question Bank : www.pdfquestion.in/2857.html

4.What is JVM?
5.List the tools available in JDK
6.What is JRE?
7.What is an access specifier in java?
8. Define JIC (Just in –time compiler).
9. Give the meaning of public static void main(String a[])
10. What is an abstract class?

11. What is finalize() and Garbage Collection?
12. What is the difference between method overloading and overriding?
13. What is a class, object and method?
14. What are a class variable, member variable and local variable?
15. What is encapsulation? Explain with an example.
16. What is meant by abstraction?
17. What is the difference between final, finally and finalize?
18. What is the difference between static and non static variables?
19. What is a constructor?
20. What do you mean by command line parameters?

Part-B (16 Marks) :
1.Explain in detail about Java Buzzwords (or) Java features (or) characteristics.
2.What does it mean that a method or class is abstract? Can we make an instance of an abstract class? Explain it with example.
3.What is Constructor in java? Why constructor does not have return type in java? Explain it with proper example.
4.Why do we need Static members and how to access them? Explain it with clear example.
5.Explain method overloading with an example program
6.Explain in detail about constructor overloading with an example
7.Explain in detail about explicitly invoking garbage collector and finalize() method?
8.Explain method overloading and method overriding with give suitable example.
9.Explain classes and objects of java classes.
10.Explain the access specifiers (Visibility Controls) supported by Java with an example code

Unit-II

Part-A :
1. What is a StringBuffer class and how does it differs from string class?
2. Why multiple inheritance using classes is disadvantage in java?
3. How to define an Interface?
4. What is polymorphism?
5. What is meant by Dynamic binding?
6. What is the need for BufferedReader and BufferedInputStream class?
7. What the different forms of Polymorphism.
8. What is the difference between an interface and an abstract class?
9. Define the Inheritance principle.
10. What is packages?
11. What is meant by Binding and static binding? 12. What is the importance of == and equals() method with respect to String object?
13. Define arrays.
14. Define Java documentation.
15. Define class hierarchy
16. What is meant by abstract classes.
17. Difference between the super and this keyword.
18. Define strings.
19. What is mean by final keyword?
20. Draw the table of visibility or member access in inheritance.

Part-B :
1. What is polymorphism in java ? Explain How Polymorphism is supported in java.
2.Write a java program to maintain the books details like BookId, AccessionNumber, BookName, Author, Publication in books package and keep the journal details such as Journalid;JournalName;in journal package in main class use these two packages details for Staff and Student classes and display the books and journals information as requested by the user.3.How to Declare and Initialize a String in java and also explain the different string handling functios with suitable examples.4.write a program to create interface named customer.In this keep the methods called information(),show() and also maintain in the Tax rate.Implement this interface in employee class and calculate the tax of the employee based on their Income.
5. Write the procedure in which an array can be created in Java. Explain the two dimensional arrays with an example program.
6. What is the need for Javadoc tool? Explain how java documentation is made.
7. What is Inheritance, Explain different types of inheritance supported by Java with an example?
8. Define polymorphism and explain how dynamic binding is implemented in Java with an example code
9. Define a package, and give the list of steps used to create a package in Java. Explain with a sample code.
10. Explain Abstract classes and Dynamic binding with an example program.

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