Академический Документы
Профессиональный Документы
Культура Документы
[20M]
Q.2 Write a program to check whether the given year is leap year or not.
[20M]
Q.3 Write a program to accept a string and count number of vowels, digits tabs and blank spaces
in a string .
[20M]
Q.4 Write program to generate the Fibonacci series using recursion
[20M]
[30M]
[30M]
Q.10 Write a program to accept a number from the user , if number is zero then throw user
defined exception Number is 0 otherwise check whether no is prime or not .
[20M]
Q.11 Write a program to implement the following Multi Level Inheritance
Account
Cust_name
Acc_no
Saving_Acc
Min_bal
Saving_bal
Acct_Details
Deposits
Withdrawals
[30M]
Q.12 Create a billing form where the flavor of ice-cream are displayed . On the selection of a
flavor and the quantity entered , the total amount is calculated and displayed
[30M]
Q.13 Write Program for simple Socket example. It opens a connection to a whois port(port
43) on the InterNIC Server , sends the command-line argument down the socket, and then prints
the data that is returned interNIC will try to look up the argument as a registered Internet domain
name, and then send back the IP address and contact information for the site.
[20M]
Q.14 Write a program to Implement a program to accomplish the following task using string /
string Buffer class :
[30M]
i.
Accept a password from user.
ii.
Check if password is correct then display "Good"
iii. Else display "Incorrect password"
iv. Append the password with the string "Welcome to java!!!"
v.
Display the password in reverse order.
vi. Replace the character '!' in password with "*" character.
Q.15 Create a URL to Osbornes download page and then examines its properties (URL :
http://www.osborne.com/downloads)
[20M]
Q.16 Write a program to accomplish following task
[20M]
A. Create a user defined package box which has a class definition for box having data
members an disp() method (Assume suitable data)
B. Source file imports above package and calculate the volume of box.