Showing posts with label JAVA. Show all posts
Showing posts with label JAVA. Show all posts

An Chaatroom in Java Programing Language which get message from the Client and the Server send the same message in capitalized form.

You have to just make two classes  in Java Environment 1st TCPClient and 2nd TCPServer.

In TCPClient you have to write this coding.

import java.io.BufferedReader;
import java.io.DataOutputStream;
import java.io.InputStreamReader;
import java.net.Socket;


public class TCPClient {
Posted by Unknown On Friday, May 31, 2013 No comments READ FULL POST

A JAVA program to show a patterns of stars on the screen.

First make a java project and then make class of name Star and then write down this whole code.

public class Star {


public static void main(String[] args) {
for(int i=1;i<=3;i++)
{
for(int j=3;j>i;j--)
{
Posted by Unknown On Sunday, May 26, 2013 2 comments READ FULL POST
A simple Global Warming Game in Java.

import javax.swing.*;

import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
public class Main {
public static void main(String[] args){
JFrame Window = new JFrame("Global Warming Game");
Posted by Unknown On Sunday, May 26, 2013 1 comment READ FULL POST
An Addition program in Java Programing Language.
Write this program in  Java environment and run it.


import javax.swing.JOptionPane;


public class Addition {

public static void main(String[] args) {
String firstnumber;
String secondnumber;
int number1;
int number2;
int sum;
Posted by Unknown On Monday, May 20, 2013 No comments READ FULL POST
  • RSS
  • Delicious
  • Digg
  • Facebook
  • Twitter
  • Linkedin
  • Youtube

Like us

    as

    Contact Form

    Name

    Email *

    Message *