Wednesday, 11 March 2015

bca4020 smu bca Winter 2014 IVth 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 500/semester only.
if urgent then call us on 08791490301, 08273413412

Winter 2014
PROGRAM-BCA (REVISED FALL 2012)
SEMESTER-4
SUBJECT CODE & NAME-BCA 4020 - PROGRAMMING IN JAVA
CREDIT-4
BK ID-B1477
MAX. MARKS-60

Q1. Describe the following:
a) Multi-threading.
b) Significance of Java Bytecode
Answer.
Multi-threading
Multithreading is the ability of an application to perform multiple tasks at the same time. We can create multithreading programs using Java. The core of Java is also multithreaded.

Q2. Differentiate Break and Continue statements in Java with example program.(5+5)
Answer.
Break and Continue statements in Java
Break statements
The break statement is used inside the switch to terminate a statement sequence. When a break statement is encountered, execution branches to the first line of code that follows the entire switch statement. This has the effect of "

Q3. Differentiate between packages and Interfaces. (5+5)
Answer.
Packages and Interfaces
Packages
Java provides a mechanism for partitioning the class name space into more manageable chunks. This mechanism is

Q4. What are Applets? What are the restrictions of Applets? Describe about applet class. (2+3+5)
Answer.
Applets
An applet is a Java program that can be embedded in a web page. Java applications are run by using a Java interpreter. Applets are run on any browser that supports Java. Applets can also be tested using the appletviewer

Q5. Write a java program to calculate the factorial of number and demonstrate the use of recursive loop.
Answer:
Given below is a program which calculates the factorial of 7 using recursion. 

Q6. Write a java program to demonstrate the use of exception handling.
Answer: class Division {
  public static void main(String[] args) {

  int a, b, result;


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 500/semester only.
if urgent then call us on 08791490301, 08273413412


No comments:

Post a Comment