What is Bluej?

Flying Angel 10:23
What is BlueJ ? BlueJ is a Java integrated development environment which was solely designed for educational purposes and for small-sc...Read More

JAVA Programming

Flying Angel 10:22
JAVA Programming Have you heard of JAVA programming ? Have a look through the texts below. It will give you a clear idea about JAVA p...Read More

Java program to find hcf of two numbers

Flying Angel 05:44
Java program to find hcf of two numbers import java.util.*; class HCF {  public static void FindHCF(int x,int y)     {int c=Math.max...Read More

Java Program to Check Armstrong Number

Flying Angel 05:54
Java Program to Check Armstrong Number By doing this program you will learn how to check for an 3 digit  armstrong number using Java pro...Read More

Rewrite the following program segment using switch case: char code; if(code==’B’ || code==’b’) System.out.println(“Bank Manager”); if(code==’C’ || code==’c’) System.out.println(“Charted Accountant”); if(code==’D’ || code==’d’) System.out.println(“Engineer”); if(code==’M’ || code==’m’) System.out.println(“Minister”)

Flying Angel 03:55
char code;                                                                                                   switch(code)                ...Read More

The pension rule of a certain country states that a man receives Rs.50/- a week if he is over 65 years and an extra Rs.20/- if he is over 70 years. A woman receives Rs.45/- a week if she is over 60 years and extra Rs.25/- if she is over 65 years.WAP which takes the sex(M for male, F for female) and age of the person as input print out the amount of weekly pension they would get. If a person is below the pensionable age,a suitable message must be printed.

Flying Angel 03:50
import java. util.*; classPension { public static void main() { Scanner Sc=new Scanner(System.in);                               ...Read More

An institution has decided to admit new candidates in different streams on the following criteria: Total marks obtained Stream offered 300 and above Science 200 and above but less than 300 Commerce Below 200 but not below 75 Arts Otherwise Admission is not granted, you have to appear in a qualifying examination WAP to take input total marks obtained in an examination and pint the stream allotted

Flying Angel 03:49
import java.util.*; class Eligibility { public static void  main()      { Scanner Sc=new Scanner(System.in);                        ...Read More
Powered by Blogger.