Java Java, - - , , Java- , . JAVA- , Java- "".
, , " ", Java . , , " " Java- - JAVA-.
JAVA-, SUN, ( web-). Java, Java- , , Java Web-.
JAVA , web-. , Java , Web. , . , , , .
Java.
.
- ( ). java : (class) ( /instance), . : . "" (, , , ) (, ). ( , ) ( , ). - , . , . , , : " ?", " ?". . , , , ; ( ) (, ), : , , , ; : , , , , , .. , , . - .
|
|
: . ( ) ( ). - . . - - . .
( , ) . , , , .
:
- . . , .
- . , .
- . (, ), . , , .
- . - , . . , , .
.
. , . . - , - , . - , .
, . Java , . cadence, speed gear - , (changeCadence, changeGear, speedUp ..) .
, , Bicycle main. , , , .
.
|
|
, . , , .
, ( /). , . , . , . , , , , , .
. , , , , ( , , ). : , ; , .
- . , , . Java , .
. , extends, , .
, , , . - . , , .. -.
interface . , , .
interface , , . , , , , , .
, interface class. , interface public ( , ) , . , (static) (final). public.
, , implements. , , . , , public.
, implements .
.
, , abstract.
- , . , . HTML , , . .. Java , .
|
|
Java ( ), . ("Application Programming Interface") API. . , String ; File (, , ..) ; Socket ; GUI ( ) : , chekbox' .. . . .
.
.
2.1.1
- 24559,7 .., . 17 , . 1-16 . 1 : , , . 17 .
-
.
() .
. 1.
1 -.
RJ-45 / . Nexans UTP 5e. RJ-45, RJ-11.
. , , . -8-0.5(08) . - .
, , , . , - ( ) - ( ) . :
- ( ) 100 ;
- ( ) , , (2.8 ) 15% .
.
|
|
,
: ,
. :
(1)
α(f) , ;
f ( 5e f = 125 ), ;
( );
a, b, c , (. 1).
1
b | c | ||
1/(1+x)^1/2*5/exp(x) | cos(x)*sin(x)**2 | cos(x)**3+sin(x) |
, , :
1. 5 - 3,8 ;
2. 15 - 11,6;
3. 1,2 - 2,1 ;
4. "" - 2,4 .
α(f)
TIA/EIA-568-B.1, , :
(2)
α , ;
α , ;
α , ;
α , .
:
(3)
α ,
α , / ( /, 2);
l , .
0,75 , 0,3 . , 2 :
(4)
: N , . ( );
N , . ( ).
2
α | |
cos(L)**3+sin(L) |
. . , .
Java c , .
.
.
import java.io.*;
public class zatyx{
double m,n,m1,n1,t1,l,t,a,Al,Nk,Nm,g,x,p,b,c,all,al,sum,pog1,pog2,pog3,pog4,a1,a2,a3,a4,a5,i,a11,a21,a31,a41,sum1;
double f=125; //
String f1(double d,double d1,double d2){
String as = "";
n=d2;
m=d1;
t=d;
l=t*3.22; //
x=2*t; //
i=l+x;
as += i+"\n";
return as;
}
double f11(){
t1=t;
return t1;
}
double f12(){
m1=m;
return m1;
}
double f13(){
n1=n;
return n1;
}
String f4(){
String qw ="";
sum=0;
for (int i=1;i<=t;i++){
p=2*i;
a=1/Math.pow(1+p,1/2)*5/Math.exp(p);//
b=Math.cos(p)*Math.pow(Math.sin(p),2);//
c=Math.pow(Math.cos(p),3)+Math.sin(p);//
all=Math.abs(a*Math.pow(f,1/2)+b*f+c/Math.pow(f,1/2));//
sum=(sum+all);
qw += all +"\n";
}
return qw;
}
double f41(){
sum1=sum;
return sum1;
}
String f3(){
String we ="";
a=Math.cos(Math.pow(l,1/3))*Math.sin(l);
Al=Math.abs(a*l+0.75/2*Nk+0.3*Nm);
g=(Math.abs(Al+sum))/100;//
we += g+"\n";
return we;
}
String f51(double d){
String nm1 ="";
t=d;
pog1=8*(t-1);
a1=pog1+g;
nm1 += a1 + "\n";
return nm1;
}
double f511(){
a11=a1;
return a11;
}
String f52(double d){
String nm2 ="";
t=d;
pog2=2.1*(t-1);
a2=pog2+g;
nm2 += a2 + "\n";
return nm2;
}
double f521(){
a21=a2;
return a21;
}
String f53(double d){
String nm3 ="";
t=d;
pog3=2.4*(t-1);
a3=pog3+g;
nm3 += a3 + "\n";
return nm3;
}
double f531(){
a31=a3;
return a31;
}
String f54(double d){
String nm4 ="";
t=d;
pog4=3.8*t;
a4=pog4+g;
nm4 += a4 + "\n";
return nm4;
}
double f541(){
a41=a4;
return a41;
}
String f55(){
String nm5 ="";
|
|
a5=pog4+pog1+pog2+pog3+g;
nm5 += a5 + "\n";
return nm5;
}
}