Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» Download - Green Lantern 2011
Java Programming Projects EmptySun Sep 25, 2011 4:47 pm by Admin

» Download - Shark Night 3D
Java Programming Projects EmptySun Sep 25, 2011 4:41 pm by Admin

» Download - Apollo 18
Java Programming Projects EmptyWed Sep 21, 2011 6:37 am by Admin

» [REMODELLED] PSP E1000 - REVAMPED
Java Programming Projects EmptyMon Sep 19, 2011 9:56 am by Admin

» PS VITA IS OFFICIALLY REGION FREE!!
Java Programming Projects EmptyMon Sep 19, 2011 9:49 am by Admin

» Manga - Popcorn Avatar
Java Programming Projects EmptyMon Sep 19, 2011 9:11 am by Admin

» [UPCOMING SOON] Assassin's Creed - Revelations
Java Programming Projects EmptyMon Sep 19, 2011 8:44 am by Admin

» Assassin's Creed 2
Java Programming Projects EmptyMon Sep 19, 2011 8:26 am by Admin

» Assassin's Creed
Java Programming Projects EmptyMon Sep 19, 2011 6:47 am by Admin

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

  • View posts since last visit
  • View your posts

Logged in as Anonymous. Your last visit was on

You are not connected. Please login or register

Topics [0]

20110915
File name: method2.java

Code:

public class method2{
      public static void main(String[] args){


          int value=5;
          callvalue(value);
      }

      public static void callvalue(int x)
      {
        System.out.println("I am the text inside method callvalue");

by Admin - Comments: 0 - Views: 713
20110915
File name: method1.java

Code:


public class method1{
      public static void main(String[] args){
     
              callmethodA();
              callmethodB();
      }


      public static void callmethodA()
      {
         ...

by Admin - Comments: 0 - Views: 665
20110915
File name: methods.java

Code:

import java.io.*;
public class methods {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

    String name;
    int age;

    public static void main(String[] args)throws IOException {
            methods m = new methods();
            m.menu();
 ...

by Admin - Comments: 0 - Views: 610
20110904

Input Multiple Choice using the Switch and Case.
File name: case.java

Code:


import java.io.*;
public class case{
   public static void main(String[] args)throws IOException{
   BufferedReader input = new BufferedReader(new InputStreamReader(System.in));
   
   int choice;

   try{
   System.out.println("Choose Your Favourite Color:");
   System.out.println("[1]...

by Admin - Comments: 0 - Views: 600
20110904

Catch a user typing the wrong input and display an invalid message
File name: catcherror.java

Code:

import java.io.*;
public class catcherror{
      public static void main(String[] args)throws IOException{

     
      int inp;

      try{
BufferedReader input = new BufferedReader(new InputStreamReader(System.in));
      System.out.println("Enter Your Favourite Color:");
   ...

by Admin - Comments: 0 - Views: 1123
20110903
File name: loop.java

Code:

public class loop{
      public static void (String[] args)throws IOException{
      BufferedReader input = new BufferedReader (new InputStreamReader(System.in));

      int x, y, number;
     
      System.out.println(" ");
      System.out.println("Enter Number:");
 ...

by Admin - Comments: 0 - Views: 628
20110903
File name: sphere.java

Code:

public class sphere{
      public static void main(String[] args)throws IOException{
      BufferedReader input = new BufferedReader(new InputStreamReader(System.in));

      double a, pi, sphere, rad;
      pi = 3.1416;
     
      System.out.println("Enter Radius:");
     ...

by Admin - Comments: 0 - Views: 749
20110825
File name: arithmetic2.java

Code:


import java.io.*;
public class arithmetic2{
          public static void main(String[] args)throws IOException{
          BufferedReader input = new BufferedReader(new InputStreamReader(System.in));

          double ave, quot, num1, num2, sum, diff, prod, mod;

          System.out.println("Enter...

by Admin - Comments: 0 - Views: 721
20110825
File name: arithmetic.java

Code:

public class arithmetic{
public static void main(String[] args){
                                      int sum, quot, diff, mod;
                    double ave;

                    sum = 1+1+8;
           ...

by Admin - Comments: 0 - Views: 695
20110824
File name: rps4.java

Code:


import java.io.*;
import java.util.*;
public class rps4{
    public static void main(String[] args)throws IOException{
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));


    int choice;
    Random r=new Random();
    int x=0;

    do{   

    System.out.println("Choose:...

by Admin - Comments: 0 - Views: 626
20110823
File name: profile.java

Code:

public class profile{
                    public static void main(String[] args){
                    String name, stat, dob, occup;
                    int age, yob, month;
                    double eval;
         ...

by Admin - Comments: 0 - Views: 554
20110823
File Name: helloworld.java

Code:

public class helloworld{
                    public static void main(String[] args){
                    System.out.println("Hello World!")
                    }
}


Display Results:

Hello World!

by Admin - Comments: 0 - Views: 546

Topics [12]

  Back to top

Moderators : None

Users browsing this forum: None

Permissions in this forum:
You cannot post new topics in this forum
You cannot reply to topics in this forum

  • New posts New posts
  • New posts [ Popular ] New posts [ Popular ]
  • New posts [ Locked ] New posts [ Locked ]
  • No new posts No new posts
  • No new posts [ Popular ] No new posts [ Popular ]
  • No new posts [ Locked ] No new posts [ Locked ]
  • Important! Read it! Important! Read it!
  • Latest! Latest!
  • Global announcement Global announcement

 

Forum create on Forumotion | ©phpBB | Free forum support | Report an abuse | Forumotion.com