Java Practical No.28 B.pdf

  • Uploaded by: Meer Kukreja
  • 0
  • 0
  • June 2020
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Java Practical No.28 B.pdf as PDF for free.

More details

  • Words: 39
  • Pages: 2
28.3) B) PROGRAM: import java.applet.*; import java.awt.*; public class loop extends Applet { public void paint(Graphics g) { int x=20,y=20; for(int i=1;i<=10;i++) { g.drawString(" "+i,x,y); x=x+10; } } } /* */

OUPUT:

Related Documents


More Documents from "Meer Kukreja"