You are on page 1of 5
wings (2412) ‘ingle and multilevel inheritance. nd. VMPOF Java.oUh Scanner Class Ag Shing name 5 OF d0l15 Void AccepC) ¢ Scamney se= new Stonnur Csyshim.i9 )} Systm. Gut. print Wentey the name 2'")) DOME “= SC.nEbOI, : oyster “0UF pind ("Enter athe vol|-po =") Yoll= SOMExXFTAE LY $Y Closs B extinds AS void AisplayO System. Cub. print oC \n Names “fe name) 5 System. out. PAF (Roth ng *byallyy 42 Public Cloas Singleind Public Stihe voit Main CSding LY orgs) § Bb= new BO; ; baccephtd; b. display 5 d t XI. Result (Output of Code): Sal Education Malarashira State Board of Teebnical Edi - 7 © scanned with OKEN Scanner ——— reference. Teacher m ns for of identified CO. st des Java Programmi a nie prement 0 Note: Below given are more such questions so as (0 ens port mu nd metho . satisfied ate using the abstria Classes nie the importa f Final varia Hale! ani he conditions which needs to be pace for answer) ‘Maharashira State Board of Technical Education 5 o © scanned with OKEN Scanner XII Exercise: . I Develop a’ program to implement the multilevel inheritance. 2 Develop a program to calculate the room area and volume'to illustrate the concept of single inheritance (Assume suitable data wherever tiecessary), (Space for answer) Malden pintin( Class Bi); 22 Nihaatita Stare Board of Technical Education 5 © scanned with OKEN Scanner C 6, accept (95 ‘Maharashtra State Board of Technical Education % © scanned with OKEN Scanner re Yojp- Endew the : Assessment Scheme xv: [ Performance Indicators Weightage Process related (35 Marks) 70% | 1. [Logie formation 30% 2. _| Debugging ability 30% | Follow ethical practices 10% Product related (15 Marks) 30% 4.) Expected output 10% oe Timely Submission 10% 6. | Answer to sample questions : 10% Total (50 Marks) 100% List of Students /Team Members cE S.agib. Memin. } 2. > 4. Dated signature of | Marks Obtained reseuce | Proceas Related suaeacs) ‘Total (50) imamate fe © scanned with OKEN Scanner

You might also like