Un-Answered Questions { OOPS }

What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?

2086


What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }

1971


write a program to find 2^n+1 ?

1538


write a program to find 2 power of a 5digit number with out using big int and exponent ?

1881


class type to basic type conversion

1828


This program numbers the lines found in a text file. Write a program that reads text from a file and outputs each line preceded by a line number. Print the line number right-adjusted in a field of 3 spaces. Follow the line number with a colon, then one space, then the text of the line. You should get a character at a time and write code to ignore leading blanks on each line. You may assume that the lines are short enough to fit within a line on the screen. Otherwise, allow default printer or screen output behavior if the line is too long (i.e., wrap or truncate). A somewhat harder version determines the number of spaces needed in the field for the line numbers by counting lines before processing the lines of the file. This version of the program should insert a new line after the last complete word that will fit within a 72-character line.

1628


Write a program to compute for numeric grades for a course. The course records are in a file that will serve as the input file. The input file is in exactly the following format: Each line contains a student's first name, then one space, then ten quiz scores all on one line. The quiz scores are in whole number and are separated by one space. Your program will take it input from this file and sends it output to a second file. The data in the output file will be exactly the same as the data in the input file except that there will be one additional number (of type double) at the end of each line. This number will be the average of the student's ten quiz scores. Use at least one function that has file streams as all or some of its arguments.

2564


what are the different types of qualifier in java?

1829


Why is it so that we can have virtual constructors but we cannot have virtual destructors?

3806


what type of questions

1688


what is the drawback of classical methods in oops?

2907


how to get the oracle certification? send me the answer

1654


write knight tour problem which is present in datastructure

2154


write string class as your own class in java without using any built-in function

1965


write a program to enter a string like"sunil is a good boy and seeking for a job" not more than 10 characters including space in one line,rest characters should b in other line.if the next line starts from in between the previous word,then print whole word to next line.

1777