JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD
JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD MCA 2018 JAVA PROGRAMMING Previous Question Paper (January - 2018 - R13)
Note: This question paper contains two parts A and B. Part A is compulsory which carries 20 marks. Answer all questions in Part A. Part B consists of 5 Units. Answer any one full question from each unit. Each question carries 8 marks and may have a, b, c as sub questions.
PART - A
How and Where this reference is used in java programming?
Answer
The this reference is a keyword that refers to the current object instance within a method or constructor. It is used to resolve naming conflicts between instance variables and parameters, to invoke another constructor in the same class (constructor chaining), and to pass the current object as an argument to other methods or constructors.
What are the different ways of using super keyword?
Answer
The super keyword is used in three primary ways: 1) To call the immediate parent class constructor using
Explain about string tokenizer.
Answer
Sign in to view the complete answer paper.
Differentiate between checked and unchecked exceptions.
Answer
Sign in to view the complete answer paper.
Explain different types of layout managers.
Answer
Sign in to view the complete answer paper.
PART - B
How does Java implement platform independence?
Answer
Sign in to view the complete answer paper.
Explain about method binding.
Answer
Sign in to view the complete answer paper.
Discuss about static methods with examples.
Answer
Sign in to view the complete answer paper.
Explain different types of parameter passing mechanism available in java.
Answer
Sign in to view the complete answer paper.
What is the difference among final, finally and finalize?
Answer
Sign in to view the complete answer paper.
Explain about abstract classes.
Answer
Sign in to view the complete answer paper.
What are packages? In how many ways packages can be created? Explain the steps to create packages?
Answer
Sign in to view the complete answer paper.
Explain about File management using File class.
Answer
Sign in to view the complete answer paper.
Explain client server interaction with datagrams.
Answer
Sign in to view the complete answer paper.
What is meant by exceptions? Whether Java is having automatic exception handling mechanism?
Answer
Sign in to view the complete answer paper.
Differentiate between multi threading and multitasking.
Answer
Sign in to view the complete answer paper.
State and explain with a sample Java program various layout managers?
Answer
Sign in to view the complete answer paper.
Discuss how to pass parameters to Applets.
Answer
Sign in to view the complete answer paper.
Explain about various Event Listener interfaces with their syntax.
Answer
Sign in to view the complete answer paper.