Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Students {
- String Starosta;
- String [] name={"Петя","Витя","Маша","Гриша","Света","Коля","Никита","Вика","Артур","Валера","Дима"};
- public void getName(){
- }
- public static void main(String[] args) {
- Students student1= new Students();
- Students student2= new Students();
- Students student3= new Students();
- Students student4= new Students();
- Students student5= new Students();
- Students student6= new Students();
- Students student7= new Students();
- Students student8= new Students();
- Students student9= new Students();
- Students student10= new Students();
- student1.getName();
- System.out.println(student1.nextInt(10));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement