0% found this document useful (0 votes)
7 views6 pages

Java Programming Concepts Explained

The document discusses key concepts in Java including the Java Virtual Machine which allows Java code to run on any system, access modifiers like public and private, pass by reference vs value, differences between final, finally and finalize, OOP principles like polymorphism and inheritance, implicit and explicit casting, abstract classes, interfaces, and examples of programs to find factorials, reverse numbers, implement threads, and interfaces.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views6 pages

Java Programming Concepts Explained

The document discusses key concepts in Java including the Java Virtual Machine which allows Java code to run on any system, access modifiers like public and private, pass by reference vs value, differences between final, finally and finalize, OOP principles like polymorphism and inheritance, implicit and explicit casting, abstract classes, interfaces, and examples of programs to find factorials, reverse numbers, implement threads, and interfaces.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

1. What gives java it’s “write once and run anywhere” nature?

2. What is the Java Virtual Machine (JVM)?

3. What are different types of access modifiers?

4. What is meant by pass by reference and pass by value in Java?


5. What is the difference between final, finally and finalize?

6. Describe the principles of OOPS.

7. What is implicit casting?


8. What is explicit casting?

9. Explain the Polymorphism principle. Explain the different forms of Polymorphism.

10. Explain Abstract Class in Java


11. Explain Inheritance in Java
12. Write a program to find Factorial of Given no.

13. Write a program to reverse a given no.


14. Write a Program for implementing Thread

15. Write a Program for Implementing Interface

You might also like