Monday 31 August 2015

bca5040 smu bca summer 2015 Vth 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
Qus:1 What are the keywords that java supports? Describe the data types available in java programming language.
Answer:
The keywords that java supports:
Keywords are special words that are of significance to the Java compiler. There are 48 reserved keywords currently defined in the Java language. These keywords combined with the syntax of the operators and separators, form the definition of the Java language. These keywords cannot be used as names for a variable,


Q2. Describe the syntax and working of if-else with an example. Also write a program in java that assigns a grade based on the value of a test score: an A for a score of 90% or above, a B for a score of 80% or above, and so on. 10
Answer:
Use the else if statement to specify a new condition if the first condition is false.
Syntax

Qus:3 Describe with the help of an example the implementation of inheritance in java.
Answer:
The implementation of inheritance in java:
The extends keyword is used to derive a class from a superclass, or in other words, extend the functionality of a superclass.


Qus:4 Describe the catch and finally block statement with examples.
Answer:
The catch and finally block statement in java:
Catch block:
It can associate an exception-handler with the try block by providing one or more catch handlers immediately after try block. The following skeletal code


Qus:5 Draw and Explain the Life cycle of a java applet with an example.
Answer:
Diagram of the Life cycle of a java applet:


Q6. Define java beans and bean box. Describe the advantages of java beanbox. 10

Answer: Java Beans: JavaBeans is the software component architecture for Java. It allows constructing applications efficiently by configuring and connecting components called Beans. The Beans need to be written and tested with a rich set of mechanisms for interaction between objects, along with common actions that most

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