Namaste Credit Sewa
If you use Nepal Telecom’s prepaid mobile, Nepal Telecom has brought you a new offer for you. Now Telecom is offering “Namaste Credit Sewa” for their prepaid sim users. While making a phone call...
If you use Nepal Telecom’s prepaid mobile, Nepal Telecom has brought you a new offer for you. Now Telecom is offering “Namaste Credit Sewa” for their prepaid sim users. While making a phone call...
Write a JAVA program to draw a bar chart for the table given below which shows annual result analysis of a school from period 2001-2005. These values may be placed in an HTML file...
Write a JAVA program to implement a program to display numbers from 1 to 10 on Applet such that each number will be displayed after a delay of 100 ms. import java.applet.*; import java.awt.*;
Write a JAVA program to accomplish the following task. Create a user-defined package box which has a class definition. For box having data member and disp( ) method. (Assume suitable data). Source file imports above...
Write a Java program to implement two threads such that one thread prints prime numbers from 1 to 10 and other thread prints non-prime numbers from 1 to 10 (use Thread class ). Note: Each...
Write a JAVA program to accept a number from the user and throw an exception (java exception) if the number is not an even number. Example of Throw an Exception Program Implementation. import java.lang.*;...
Write a JAVA program to implement Method Overriding for following inheritance : (Assume suitable data ) Abstract Class : Shape dim1, dim2, disp( ) abstract area ( ) Class: Rectangle getd( ), area (...
Write a program to implement the following Multiple Inheritance: Class Student Name, roll_no Mark 1, Mark2 Interface: Exam Percent_cal( ) Class: Result Display( )
Write a program to implement the following Multi-Level Inheritance: Class: Account Cust_name , acc_no Class: Saving_Acc Min_bal, saving_bal Class:Acct_Details Deposits, withdrawals import java.lang.*; import java.io.*; class Account { String cust_name; int acc_no; Account(String a,...
Write a JAVA program to implement a Vector that accepts five items from the command line and store them in a Vector and display the objects stored in a Vector. import java.lang.*; import...
Write a program to accept the value of Apple sales for each day of the week (using an array of type float) and then, calculate the average sale of the week. import java.lang.*; import...
Write a program to Implement a program to accomplish the following task using string/string Buffer class: i. Accept a password from the user. ii. Check if password is correct then display “Good” Else display...
Write a program to accept a string from the console and count number of vowels, constants, digits, tabs and blank spaces in a string. import java.io.*; class q5vowels { public static void main(String args[])...
Write a program to define a class Employee to accept emp_id, emp _name, basic_salary from the user and display the gross_salary. import java.lang.*; import java.io.*; class Employee { int emp_id; String emp_name; float basic_salary;...