0% found this document useful (0 votes)
4 views2 pages

Java MSBTE Revision

The document provides revision notes for Java, covering key concepts such as Java's definition, JVM, JDK, and JRE, along with fundamental OOP principles like encapsulation, inheritance, polymorphism, and abstraction. It also outlines Java's features, types of inheritance, exception handling, access specifiers, and multithreading. The notes are structured into very short and short answer formats for quick reference.

Uploaded by

p80193018
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views2 pages

Java MSBTE Revision

The document provides revision notes for Java, covering key concepts such as Java's definition, JVM, JDK, and JRE, along with fundamental OOP principles like encapsulation, inheritance, polymorphism, and abstraction. It also outlines Java's features, types of inheritance, exception handling, access specifiers, and multithreading. The notes are structured into very short and short answer formats for quick reference.

Uploaded by

p80193018
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Java MSBTE Exam Revision Notes

2 Marks Questions (Very Short Answers)

Q: What is Java?

A: Java is a high-level, object-oriented, platform-independent programming language.

Q: What is JVM?

A: JVM executes Java bytecode.

Q: What is JDK?

A: JDK is used to develop Java applications.

Q: What is JRE?

A: JRE provides libraries and JVM to run Java programs.

Q: What is Bytecode?

A: Intermediate code generated by Java compiler.

Q: What is Class?

A: Blueprint to create objects.

Q: What is Object?

A: Instance of a class.

Q: What is Inheritance?

A: Acquiring properties of another class.

Q: What is Polymorphism?

A: One name, many forms.

Q: What is Encapsulation?

A: Binding data and methods together.

Q: What is Abstraction?

A: Hiding internal details.

Q: Method Overloading?

A: Same name, different parameters.

Q: Method Overriding?

A: Redefining method in subclass.

Q: What is Constructor?

A: Initializes objects.

Q: What is Package?
A: Collection of related classes.

4 Marks Questions (Short Answers)

Features of Java:

1 Platform Independent

2 Object-Oriented

3 Secure

4 Robust

5 Multithreaded

OOP Concepts:

1 Encapsulation – Data hiding

2 Inheritance – Code reuse

3 Polymorphism – Multiple behavior

4 Abstraction – Hide complexity

Component Description
JDK Development tools
JRE Runtime environment
JVM Executes bytecode

Types of Inheritance:

1 Single
2 Multilevel
3 Hierarchical

Exception Handling: try, catch, finally, throw

Access Specifiers:

1 Public – everywhere

2 Private – within class

3 Protected – package + subclass

4 Default – package

Multithreading: Multiple threads run simultaneously.

You might also like