Time : Three hours. Answer ALL questions. Define Objects and classes in java. Maximum marks. How does one import a single package? What is meant by Inheritance Hierarchy?

Author:Zugul Gardasho
Country:Dominican Republic
Language:English (Spanish)
Published (Last):14 February 2007
PDF File Size:14.58 Mb
ePub File Size:7.36 Mb
Price:Free* [*Free Regsitration Required]

Time : Three hours. Answer ALL questions. Define Objects and classes in java. Maximum marks. How does one import a single package? What is meant by Inheritance Hierarchy? Give an example. In Java what is the use of Interface?

What are the steps needed to show a Frame? What is the function of a Set Layout and b Flow Layout? Give any two methods available in Stack trace Element.

Define Assertions and give its syntax. What are the different states in thread? What do you mean Synchronization? What is the use of new method? Give the syntax for static method and its initialization. Explain arrays in java.

How do you define a class in java? Explain the following in Strings:. Explain any four methods available in string handling. What is a package? How does a compiler locate packages? Define Polymorphism. Write briefly on Abstract classes with an example.

What is a static Inner class? Explain with example. List the methods available to draw shapes. Explain the advantage and explain the methods in Model view controller. Explain the exception hierarchy. State the situations where assertions are not used. Give an overview of logging. Explain its states and methods. Explain thread properties.

What is Event-driven programming? Learn more about Scribd Membership Home. Much more than documents. Discover everything Scribd has to offer, including books and audiobooks from major publishers. Start Free Trial Cancel anytime. Uploaded by Anitha JS. Date uploaded May 29, Did you find this document useful? Is this content inappropriate? Report this Document. Flag for Inappropriate Content. Download Now. Related titles.

Carousel Previous Carousel Next. Jump to Page. Search inside document. Pradeep Tiwari. Prince Maheshwari. Swaminathan Ramasubramanian. Nyabs Yohana. Jerome Tacata. Vamsi Krishna Peddineni.

Mohammed Jeelan. Kishore Gowda. Eklavya Das. GauRav PaNdey. Top Java Interview Questions with Answers. Xiomy Becerra. Misha Mehr. Salih Hassen Anwar. Silver Quill Jaroos Mohamed. Popular in Thread Computing. Donn Dominguez Gamboa. Difference between start and run method in Thread — Java Tutorial. Sheena Mohammed. Carlos Benitez Field. Sana Adrees. Amrita Arvind. Piyalee Behera. Sourabh Kvl. Ashok Karyampudi. Oli Sennhauser. Nisar Muhammad. Samrat Banerjee. Tahsin Khan. Ikechukwu Okey. Daniel Paczuski Bak.

Nikhil Yadav.


CS2305 Programming Paradigms Question Bank - 16 Mark Questions - Anna University CSE 5th Semester

Explain OOP Principles. OOP is defined as object oriented programming. Once the class type has been defined we can create the variables of that type using declarations that are similar to the basic type declarations. These variables are called as instance variables. Methods are declared inside the class immediate after the instance variables declaration.



To understand the concepts of object-oriented, event driven, and concurrent programming paradigms and develop skills in using these paradigms using Java. Review of OOP - Objects and classes in Java — defining classes — methods - access specifiers — static members — constructors — finalize method — Arrays — Strings - Packages — JavaDoc comments. Inheritance — class hierarchy — polymorphism — dynamic binding — final keyword — abstract classes — the Object class — Reflection — interfaces — object cloning — inner classes — proxies. Graphics programming — Frame — Components — working with 2D shapes — Using color, fonts, and images - Basics of event handling — event handlers — adapter classes — actions — mouse events — AWT event hierarchy — introduction to Swing — Model-View- Controller design pattern — buttons — layout management — Swing Components. Motivation for generic programming — generic classes — generic methods — generic code and virtual machine — inheritance and generics — reflection and generics — exceptions — exception hierarchy — throwing and catching exceptions — Stack Trace Elements - assertions - logging.

Related Articles