MCS-024 Object Oriented Technologies and Java Programming Solved assignment 2018-19
Question 1: (a) What is Object Oriented Programming? Explain advantages of Object Oriented Programming with the help of an example. (5 Marks) (b) Explain features of java programming language. (2 Marks) (c) Write a program to explain use of Relational and Boolean operators in java. (3 Marks) Question 2: (a) Explain use of super and final keywords in java with the help of examples.(4 Marks) (b) Explain followings in context of java, with the help of examples. (6 Marks) i. Class and Objects ii. Message Passing iii. Garbage collection Question 3: (a) What is static method? Explain why main method in java is always static. (2 Marks) (b) What is inheritance? How inheritance is implemented in java? Crea...