Sbjadhav.files.wordpress.com
Sanjivani Rural Education Society’sKBP Polytechnic, KopargaonList of Important ProgramsYear: 2018-19Dept.: Computer Tech.Subject: Java Programming [ 17515 ]Name of Staff: Prof. S. B. JadhavWrite a program to check whether a given number is prime or not. Develop a program to display all the even numbers between 1 to 20 using for loop & if statement.Write a program to accept a number and print its factorial.Develop a program to print the multiples of 5 between 20 to 70.Develop a program to print the first 7 terms of Fibonacci series.Develop a program to create a class Student with data members student_name, roll_no & branch. Initialize and display values of data members for 5 students.Write a program to create and sort array of integers.WAP to find all substring of string & print them . for e.g substring of “Fun” are :-“f”,“fu”,”fun”,”u,””un”,”n” using substring method of Substring class to find substring.Implement the program to accomplish the following task using String & StringBuffer class To search a word inside a string. To search last position of a substring. To compare two string. To print reverse of stringDevelop a program that creates a vector to insert and display five elements of different data types(use – elementAt(), insertElementAt(), addElement() etc. methods).Implement the program to accomplish the following task using vector classTo add two integer, two float, two character, two string objectTo search a particular object of the vector.To display all object along with their index position.To delete all objects from vectorDevelop a program to create a class “Book” having data members ‘auther’,’title ’ &’publisher’. Derive a class “bookInfo” having data member ‘prize’,’stock position’ & a method ‘show()’. Initialize using constructor and display the information.Develop a program to throw a user defined exception if the given number is not positive. WAP to accept a password from the user & throw “Authentication failure ” exception if the password is incorrect.Write a program to implement following hierarchyinterface MarksSport wt=5class StudentRollno, name, totalclass Printdisplay()interface MarksSport wt=5class StudentRollno, name, totalclass Printdisplay()Define a package named ‘’useful’’ with a class named ‘useme’ having following methods .Area()->To calculate the area of given shapeSalary()->To calculate the salary given basic Salary, da, hra.Percentage()-> To calculate the percentage given total marks and marks obtained.Write a program which will print minimum four system defined exceptionsDevelop a program to create two threads such that one threads displays the message “How do you do?” and the other thread displays the message “Fine, Thank you!”Develop a program to create two threads one thread will print odd number up to 20 with delay of 100 milliseconds. Develop a program to create two threads one thread will print 1 to 10 & other thread will print 10 to 1 numbers. Frist thread should transfer control to second thread often printing second number.Develop a program to display a string “java Applet” on applet window using font “Time New Roman”, size as 14 & style as BOLD+ITALIC .The string should be passed as a parameter.Write the applet program to draw square inside circle.Write an applet program to draw rectangle which is filled with red color.Write an applet program to draw (different) polygons.Develop a program to copy the contents of the file “abc.txt” into a new file “xyz.txt”. ................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related searches
- wordpress passing data between pages
- wordpress business templates
- wordpress rss feed not working
- wordpress jquery is not defined
- create wordpress blog
- wordpress roles editor
- wordpress full rss feed
- wordpress rss feed settings
- wordpress rss feed plugin
- wordpress display rss feed
- wordpress rss feed link
- wordpress rss feed to post