Java Lab-Part A&B-Manual PDF

Title Java Lab-Part A&B-Manual
Author Hidayathulla M R
Course JAVA Programming
Institution Bangalore University
Pages 24
File Size 316.6 KB
File Type PDF
Total Downloads 108
Total Views 141

Summary

Java Programming Manual Part A and B...


Description

BCA504P – JAVA Programming Lab Manual Part - A 1. Write a program to find factorial of list of number reading input as command line argument. Source Code public class Factorial { public static void main(String args[]) { int[] arr = new int[10]; int fact; if(args.length==0) { System.out.println("No Command line arguments"); return; } for (int i=0; i...


Similar Free PDFs