- Type
- Midterm past paper
- Course
- CS506 Web Design and Development
- Size
- PDF 10.8 MB
- Updated
- 23 Oct 2026
You get 3 free files a day on the website. Add the Chrome extensionSign in with the extension for 30 a day.
Preview text
Text from pages 4, 5, 6 of 279. Download the file for all 279 pages.
Q1. Which of the following feature provides the facility for multiple inheritance?
object.
Q3. If we want to animate something like ball, moving from one place to another. we constantly need to call paint () method.
Q4. If we want to call to String() method of parent class in JAVA. Which of the following statement will be used?
Q5. Which of the following syntax is used to create a client socket?
Correct answer: Socket s = new Socket(“serverName”, serverPort); page No 195
- In order to include graphics in your Java program, it is mandatory to extend from class.
Q7. What will happen if static modifier is removed from the signature of main method?
Q8. Timer class constructor requires time in
Correct answer: milli seconds
Page No 180. c. micro seconds d. nano seconds
Q9. Which of the following features is available in java?
Correct answer: Primitive data types Page No 40.
Q10. ResultSet Meta Data will help you in answering the following questions except;
Correct answer: How many rows are in the ResultSet?
Page No 162. d. Are the column name is case sensitive? 11. returns the elements at specified position in the list.
a. Object get(int index)
Page No 62. b. Object set(int index) c. Object return(int index) d. Object remove(int index)
- WindowListener interface contains methods. a. Four b. Six
c. Seven
d. Eight
c. The program compiles but does not run
Q13. Which of the following driver type(s) has better performance than other?
Q14. Which of the following syntax is used to create a Server Socket?
Correct answer: ServerSocket ss = new ServerSocket(serverPort); page No 197
Q15. The keyword "this" is used to
Q16. An applet can be defined as:
Correct answer: A small program written in Java and included in an HTML page
Q17. Choose the correct syntax to define an interface named as "Speaker" in java language
Related CS506 files
All CS506 files →- CS506 Midterm Subjective Set 2 by Waqar Siddhu Midterm PDF 805 KB
- CS506 Midterm Past Papers Combined with Pics Midterm PDF 541 KB
- CS506 Midterm MCQs by VU Topper RM Midterm PDF 310 KB
- CS506 Midterm Solved Objective Papers Preparation Midterm PDF 491 KB
- CS506 Highlighted Handouts Set 3 Highlighted PDF 11.2 MB
- CS506 Solved Grand Quiz 2020 by Sonu Ilyas Quiz PDF 4.5 MB
Get more out of VUBuddy, for free
- Unlimited downloads
- The explanation behind every MCQ answer
- Study offline on slow data
- 30 downloads a day instead of 3
- Sign in and buy Pro Semester here
One Pro Semester membership works in both the extension and the app.