Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class CRectangle
- {
- int width;
- int height;
- }
- public class B10207081_2
- {
- public static void main(String args[])
- {
- CRectangle rect5;
- rect5=new CRectangle();
- rect5.width=30;
- rect5.height=20;
- System.out.println("width="+rect5.width);
- System.out.println("height="+rect5.height);
- System.out.println("B10207081");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement