请编写一个程序,能显示出以下两行文字:I am a stundent. I love china.
9个回答
展开全部
public static void main() {
system.console.writeline("I am a stundent. I love china.");
} c#??
public static void main(string []arg) {
System.Console.WriteLine("I am a stundent. I love china.");
}
--------------------------------------------------------------
import java.awt.*;
import java.applet.*;
public class ct extends Applet{
public void paint(Graphics g){
g.drawString("I am a student. I love China"25,25);
}
} java???
g.drawString("I am a student. I love China",25,25);
----------------------------------------------------------------
system.console.writeline("I am a stundent. I love china.");
} c#??
public static void main(string []arg) {
System.Console.WriteLine("I am a stundent. I love china.");
}
--------------------------------------------------------------
import java.awt.*;
import java.applet.*;
public class ct extends Applet{
public void paint(Graphics g){
g.drawString("I am a student. I love China"25,25);
}
} java???
g.drawString("I am a student. I love China",25,25);
----------------------------------------------------------------
本回答被网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
这是 Hello World 的大汇总么 ...
------------------------------
@echo off
echo I am a stundent. I love china.
echo on
------------------------------
? "I am a stundent. I love china."
------------------------------
begin
writeln('I am a stundent. I love china.');
end.
------------------------------
<%
response.write "I am a stundent. I love china."
%>
------------------------------
<?php
echo("I am a stundent. I love china.");
?>
------------------------------
<script type="text/javascript">
document.write("I am a stundent. I love china.");
</script>
------------------------------
<%@ page language="java"%>
<%
out.println("I am a stundent. I love china.");
%>
------------------------------
public static void main() {
system.console.writeline("I am a stundent. I love china.");
}
------------------------------
别的语言就不会了 ...
等着补充 ...
------------------------------
@echo off
echo I am a stundent. I love china.
echo on
------------------------------
? "I am a stundent. I love china."
------------------------------
begin
writeln('I am a stundent. I love china.');
end.
------------------------------
<%
response.write "I am a stundent. I love china."
%>
------------------------------
<?php
echo("I am a stundent. I love china.");
?>
------------------------------
<script type="text/javascript">
document.write("I am a stundent. I love china.");
</script>
------------------------------
<%@ page language="java"%>
<%
out.println("I am a stundent. I love china.");
%>
------------------------------
public static void main() {
system.console.writeline("I am a stundent. I love china.");
}
------------------------------
别的语言就不会了 ...
等着补充 ...
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
这个也可以。
下面是JAVA的写法
import java.awt.*;
import java.applet.*;
public class ct extends Applet{
public void paint(Graphics g){
g.drawString("I am a student. I love China"25,25);
}
}
下面是JAVA的写法
import java.awt.*;
import java.applet.*;
public class ct extends Applet{
public void paint(Graphics g){
g.drawString("I am a student. I love China"25,25);
}
}
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
main()
{
printf("I am a student.\NI love china.");
}
{
printf("I am a student.\NI love china.");
}
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
Private Sub Form_Click()
Print "I am a stundent." & vbCrLf & "I love china."
End Sub
Print "I am a stundent." & vbCrLf & "I love china."
End Sub
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询