Chapter2_1-ProgramStructure

S gannouni dr a touir introduction to oop salam

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: end class Page 3 Dr. S. GANNOUNI & Dr. A. TOUIR Introduction to OOP Salam Program // import section: Empty public class MySalamProgram { // main method public static void main( String args ){ // Declaration section: Empty // Input section: Empty // Processing section: Empty // Output section System.out.println(“… Assalamo Alaikom …”); } // end main } // end class Page 4 Dr. S. GANNOUNI & Dr. A. TOUIR Introduction to OOP Saving, Compiling and Running Java Programs • Saving a Java program. – A file having a name same as the class...
View Full Document

This document was uploaded on 03/03/2014.

Ask a homework question - tutors are online