Core Java Assignment 10
1. Create a list with elements – "d2", "a2", "b1", "b3", "c" and filter the elements that start with "a" and print the element in uppercase. 2. Create a […]
1. Create a list with elements – "d2", "a2", "b1", "b3", "c" and filter the elements that start with "a" and print the element in uppercase. 2. Create a […]
1) Given the daily stock prices of a share during last 30 days, write a program to find out best buying and selling dates for maximum gain. for ex: index […]
1) I have 3 classes called Hospital and Doctor, and Patient as below Class Hospital { String hospitalName; Doctor doc; Address hospitalAddress; } Doctor { […]
Array vs Collection List vs Set Vector vs Arraylist vs Linked List […]
Write in to file using BufferedWriter? Identify number of words in your file? Write a logic to replace one word with another ? Write a program to create an xls […]
Stream hierarchy Programs: File Creation // 1 way of creating a file File simpleFile = new File( "C:\\Users\\cccc\\workspace\\ccccc-B3\\cccc.txt"); simpleFile ..createNewFile(); // 2nd way of creating a file String […]
S.No. Process based Multitasking programming Thread based Multitasking programming 1 A process is essence of program that is executing which running parallel Thread is a such part of multithreaded program […]
JVM Monitor all the statements. If an error/exception, then identifies corresponding Exception class. Create the object for Exception class. Throws the object. Catch the object & terminate the Program JVM […]
1) Write a program to display <b> 2 dimensional multiplication table</b> based on user input? for example, if user enters 2 then the output should display 2*1=2 . . . […]
1) I have two classes Employee and Department as shown below. class Employee { int id; String name; Department dept; double salary; //setter/getter methods //override equals method //override toString //override […]