1. Lớp HinhCN
public class HinhCN implements
Comparable
{
private double cdai;
private double crong;
public HinhCN()
{
}
public HinhCN(double cdai,double crong)
{
this.cdai=cdai;
this.crong=crong;
}
public...
Friday, November 11, 2016
Sunday, October 30, 2016
Quản Lý Sinh Viên Với Node.js
Cấu trúc gồm có các hàm :
Hàm : getAllSV();
Hàm
: addSV();
Hàm: getSV();
Hàm : hienAllSV();
Hàm: editSV();
Hàm : xoaSV();
Hàm : hienSV();
var storage =
require('node-persist');
var
student={id:"",name:""};
storage.initSync();
//get toan bo sv
function getAllSV()
{
var
student=storage.getItemSync('student');
...
Saturday, October 29, 2016
Vẽ chữ Z bằng vòng lặp for trong java
public class VeHinh
{
public static void main(String[] args)
{
int row=7;
int col=7;
System.out.println("Images 1");
for(int i=1;i<=row;i++)
{
if(i==1||i==row)
...