Assignment 1
Assignment 1
Two Marks 1.What is meant by Object Oriented Programming? 2.What is a Class? 3.What is an Object? 4.What is an Instance? 5.What are the core OOPs concepts? 6.What is meant by abstraction? 7.What is meant by Encapsulation? 8.What are Encapsulation, Inheritance and Polymorphism? 9.What are methods and how are they defined? 10.What are different types of access modifiers (Access specifiers)? 11.What is an Object and how do you allocate memory to it? 12.Explain the usage of Java packages. 13.What is method overloading and method overriding? 14.What gives java its write once and run anywhere nature? 15.What is a constructor? What is a destructor? 16.What is the difference between constructor and method? 17.What is Static member classes? 18.What is Garbage Collection and how to call it explicitly? 19.In Java, How to make an object completely encapsulated? 20.What is static variable and static method?
.