Surface area of the tetrahedron in java

Posted By: Java Examples - 10:27 PM

What is a Tetrahedron?

Thanks mathematische-basteleien.de

Calculate age in java using JFrame

Posted By: Java Examples - 10:31 PM
Java version of the   Age problem  is given below: 
/**
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package age;

import java.awt.*;
import java.awt.event.*;
import javax.swing.*;

/**
 *
 * @author ACHCHUTHAN
 */
public class age extends JFrame implements ActionListener {

Calculate yesterday and tomorrow date in any year in java

Posted By: Java Examples - 10:13 PM
Java version of the  this problem is given below :
/**
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package age;

import java.util.Scanner;

/**
 *
 * @author ACHCHUTHAN
 */
public class date {

Sorting a two dimensional matrix in java

Posted By: Java Examples - 8:47 PM

Sorting  matrix 


class Sort_Matrix{
public static void main (String args[]){
 int [][] M ={ {1,2,3,4},{2,3,4,5},
                      {5,6,7,8},{6,7,8,5},{3,7,9,3} };
 for(int r=0;r<5;r++){
   for(int c=0;c<4;c++){
     System.out.print(M[r][c]+"\t ");
    }
   System.out.println();
  }

Copyright © 2016 Java Examples ACHCHUTHAN.ORG. Designed by Templateism .