Object Oriented Programming-1 (Lab Sesion-1)



Lab Sesion-1

Installation JDK and Hello World

1.    Install JDK and set proper path for environment variables.







  1. 2.   Write  JAVA program that displays  strings

Welcome to java, Learning java now and Programming is fun in three separate line. 


Public class FirstProgram{

Public static void main(String[] args){

System.out.println(“Welcome to java”);

System.out.println(“Learning java now”);

System.out.println(“Programming is fun”);

}

}








Download assignment doc file here.....



No comments:

Post a Comment