0% found this document useful (0 votes)
3 views1 page

Java Programming Concepts Explained

The document contains a series of questions and topics related to Java programming, including the role of the JVM, the concept of platform independence, constructors, and the use of keywords like 'this' and 'super'. It also covers object-oriented programming characteristics, interfaces, wrapper classes, string handling, method overriding, inheritance, inner classes, exception handling, and the differences between abstract classes and interfaces. Additionally, it addresses data encapsulation and abstraction, as well as casting in Java.
Copyright
© All Rights Reserved
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)
3 views1 page

Java Programming Concepts Explained

The document contains a series of questions and topics related to Java programming, including the role of the JVM, the concept of platform independence, constructors, and the use of keywords like 'this' and 'super'. It also covers object-oriented programming characteristics, interfaces, wrapper classes, string handling, method overriding, inheritance, inner classes, exception handling, and the differences between abstract classes and interfaces. Additionally, it addresses data encapsulation and abstraction, as well as casting in Java.
Copyright
© All Rights Reserved
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

What does the JVM do?

Why is Java called platform independent language?

Why do we need constructor?

Write a program to illustrate the use of constructor in java .

Explain the use of ‘this’ keyword and the ‘super’ keyword in Java programming.

What are the main characteristics of OOP Language? Explain each.

Why we need Interface? Explain with a suitable example.

What is wrapper class?

What is String in Java? What is the difference between equals () method and == operator?

Explain Method Overriding with a suitable example.

Define Inheritance and also write down the types of Inheritance.

What is Inner class?

What is byte code?

method overloading and method overriding

Write a program to demonstrate the “ArrayIndexOutOfBoundsException”.

Write down the difference between abstract class and Interface. What is meta class?

abstract class and interface

throw and throws

Explain the differences between Error and Exception. What is the use of “finally” block?

What is Checked & Unchecked Exception? Draw a Call stack with Method Call.

Write a Code Snippet to demonstrate how an Exception may occur in the program & how to handle it

Distinguish between Data Encapsulation and Data Abstraction

Explain “public static void main (String [] args)” in java

What are Implicate and Explicit Casting?

You might also like