This document provides instructions and questions for a Java programming class test. It includes 2 questions with multiple parts each. Question 1 has 3 parts asking about interface syntax, variable scopes, and abstract/final classes. Question 2 has 3 parts asking about implementing interface methods, object-oriented programming terms, and a program to invert the case of a string's characters. Students have 1 hour to complete the test out of a maximum 20 points.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
43 views1 page
Sample Class Test I
This document provides instructions and questions for a Java programming class test. It includes 2 questions with multiple parts each. Question 1 has 3 parts asking about interface syntax, variable scopes, and abstract/final classes. Question 2 has 3 parts asking about implementing interface methods, object-oriented programming terms, and a program to invert the case of a string's characters. Students have 1 hour to complete the test out of a maximum 20 points.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1
K. K.
WAGH POLYTECHNIC, NASHIK – 3
Department of Information Technology & Computer Technology MSBTE Class Test-I, August - 2008 Semester : - Fifth Master: ‘C’ Course : - IF / CM Subject : - Java Programming (JPR) Subject Code : - 9113 Duration : - 1 Hour Max. Marks : - 20 = = = = = = = = = = = = = Instructions to candidate:- 1) All questions are compulsory. 2) Illustrate your answers with neat sketches/flowcharts wherever necessary. 3) Use of Non-programmable Electronics Calculator is permissible. 4) Figures to the right indicate full marks of respective questions. 5) Assume suitable additional data, if necessary. Q.1 Attempt any Two. (2 × 4) 08 a) Give the syntax of creating and implementing the interface. b) Describe the scopes that a Java variable can have. c) How to create abstract and final classes?
Q.2 Attempt any Two. (2 × 6) 12
a) What will happen if a derived class does not override all the methods of the interface? What will be the solution on it? b) Describe the terms which makes a programming language as object-oriented? c) Input a string from user and invert the case of each character of the string. E.g. Input: “VaSiM” output: “vAsIm”.