Wednesday 27 January 2016

bt0074 smu bsc it Fall 2015 IIIrd sem assignment

Get fully solved assignment. Buy online from website
online store
or
plz drop a mail with your sub code
we will revert you within 2-3 hour or immediate
Charges rs 125/subject and rs 625/semester only.
if urgent then call us on 08791490301, 08273413412

PROGRAM - BSc IT
SEMESTER - THIRD
SUBJECT CODE & NAME
BT0074, OOPS with JAVA
CREDIT - 4
BK ID - B1002
MAX. MARKS – 60

Q1. Describe the features of java programming language. 10
Ans: Features of Java: Java defines data as objects with methods that support the objects. Java is purely object-oriented and provides abstraction, encapsulation, inheritance and polymorphism. Even the most basic program has a class. Any code that you write in Java is inside a class. Java is tuned for Web. Java programs can

Q2. Explain any four function can be used for string comparison. Write a program to reverse a string. 4*1+6 = 10
Ans:

1. Equals( ) and equalsIgnoreCase( ):   To compare two strings for equality, use equals( ). It has this general form:
boolean equals(Object str);
Here, str is

Q3. Describe with the help of an example the implementation of inheritance. 10
Ans: Example of implementation of inheritance:

// Create a superclass.
class A {
int i, j;

Q4. Describe the catch and finally block statement with examples. 5+5 = 10
Ans: The catch Block: You associate an exception-handler with the try block by providing one or more catch handlers immediately after try block. The following skeletal code illustrates the use of the catch

Q5. Write a note on random access files and serialization concept. 5+5 = 10
Ans: Random Access Files: The term random access means that data can be read from or written to random locations within a file. In all the above mentioned streams, data is read and written as a continuous stream of information. Java provides the RandomAccessFile class to perform I/O operations at specified locations within a file.
The RandomAccessFile class implements the DataInput and DataOutput interfaces for performing I/O using the primitive data types. The RandomAccessFile class also supports permissions like read and write



Q6. Explain the following with examples: 4* 2 ½ = 10
1. The Connection Objects
2. The JDBC URL
3. The ResultSet Object
4. Using the PreparedStatement Object
Ans:

1.      The Connection Objects:
The Connection object represents a connection with a database. You mayhave several Connection  objects in an application that


Get fully solved assignment. Buy online from website
online store
or
plz drop a mail with your sub code
we will revert you within 2-3 hour or immediate
Charges rs 125/subject and rs 625/semester only.
if urgent then call us on 08791490301, 08273413412



No comments:

Post a Comment