JAVA 2019 Old Papers Solution

year 2019 Q.no 11 class BIM { public static void main(String args[]) { int a=0, b=1, c; System.out.println(a); System.out.println(b); for(int i=3;i<=10;i++) { c=a+b; a=b; b=c; System.out.println(c); } } } Q.no 12 String aar[]={“January”,”February”,”March”,”April”,”May”,”June”,”July”,”August”,”September”,”October”,”November”,”December”}; for(int i=0; i<aar.length; i++) { System.out.println(“month”+aar[i]); try{ Thread.sleep(1000); } catch(Exception e) { System.out.println(e); } }}} class days implements Runnable { public void […]

Continue Reading