Semester : SEMESTER 2
Subject : Object Oriented Programming
Year : 2018
Term : APRIL
Branch : MCA
Scheme : 2016 Full Time
Course Code : RLMCA 102
Page:3
17.
18.
19.
20.
AC201 Pages: 3
UsingFinally x= new UsingFinally();
System.out.printIn(x.add(5,10));
}
}
MODULE -۷
Explain how primitive data types can be read and written to a sequential file, with an
example.
OR
a) Devise a short application that read bytes from the console and display as
characters on the screen. (4)
b) Explain the merits of using Buffered Reader over File Reader in reading characters
from a file. (2)
MODULE - VI
a. Define URL. List the components of an URL. (3)
b. Explain the objectives of Datagram Packet class. (3)
OR
a) Explain how an arc can be drawn. (2)
b) List the attributes of APPLET tag. (4)
मर भर नर नर मर
Page 3 of 3