Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * To change this license header, choose License Headers in Project Properties.
- * To change this template file, choose Tools | Templates
- * and open the template in the editor.
- */
- package com.mycompany.ex19;
- /**
- *
- * @author student
- */
- public class Main {
- public static void main(String[] args) {
- Student s1 = new Student("Petrov");
- Student s2 = new Student("Vasechkin");
- s1.setS1("fsafafas");
- //Student.setS1("fsafafas");
- System.out.println("s2.getS1()=" + s2.getS1());
- System.out.println("Institute.INSTITUTE_MSU=" + Institute.INSTITUTE_MSU);
- //Institute.INSTITUTE_MSU = 100;
- System.out.println("Math.PI=" + Math.PI);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement