📄 meetingprinter.java
字号:
/* Code for Assignment 1, COMP 102 * Name: * Usercode: * ID: *//** A very simple program that prints out a name in two different ways*/public class MeetingPrinter { /** Print a nametag with your name inside a box made of asterisks */ public void printNameTag() { String name = "George Bush"; System.out.println("*********************************"); System.out.println("* *"); System.out.println("* HELLO, my name is *"); System.out.println("* *"); System.out.println("* " + name + " *"); System.out.println("* *"); System.out.println("*********************************"); } /** Print out a reminder of a speaker's presentation time */ public void printNotice(String name, int time) { System.out.println(); System.out.println(name + ":"); System.out.println("Your presentation will be at 7:" + time + " for three minutes"); } /** Print out some information about yourself. * (This will help the lecturer to know the background of the students in * the course.) */ public void printIntroduction() { System.out.println(" <my name> "); System.out.println("I have/do not have access to a computer at home."); System.out.println("My favourite computer game is .... / I don't play computer games"); System.out.println("A computer application I have used a lot is "); System.out.println("I have done some/lots/not done any computer programming before "); // if you have done any programming..... System.out.println("I learned some/did not learn any computer programming at school "); System.out.println("The programming languages I have used include "); // anything else that it my be useful for us to know... }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -