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

What Is Java

Uploaded by

hari
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)
22 views2 pages

What Is Java

Uploaded by

hari
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

1. What is Java ?

2. What is Platform ?
3. Difference between JDK, JRE and JVM
4. Explain how Java works as platform independent OR Explain WORA architecture
5. Is JRE Platform dependent ?
6. Explain Java compilation process
7. Is JDK platform dependent or independent ?
8. What are the object oriented concepts ?
9. What are the categories of data types ?
[Link] many primitive databytes are available ?
[Link] many non-primitive datatypes are available ?
[Link] to convert primitive to non-primitive data types ?
[Link] many types of variables are present ?
[Link] between local and global variable.
[Link] between static and non-static variable
[Link] a class which is executed first ?
[Link] a program be executed with static block which does not have main() ?
[Link] access modifiers are applicable for class ?
[Link] outerclass cannot be protected ?
[Link] static members cannot directly access non-static members.
[Link] is the super class of all classes ?
[Link] class name and constructor name should be same?
[Link] constructors can not be inherited ?
[Link] constructors be protected ?
[Link] are the different ways to invoke constructor ?
[Link] cyclic recurrsion of constructor possible ?
[Link] are OOPS principles ?
[Link] is Inheritence ? Explain the types.
[Link] real time example for hierarchial inheritence.
[Link] is the mosy used Object Oriented Principle ?
[Link] to avaoid inheritence of a class.
[Link] some real time examples for final class.
[Link] method overloading with Real Time and Real World examples.
[Link] it possible to achieve overloading in two different classes ?
[Link] it possible to overload static method or abstract method.
[Link] it possible to overload main() ?
[Link] is constructor overloading ? Give RealTime example.
[Link] is output of [Link](null); ?
[Link] to avoid inheritence of variables and methods.
[Link] it possible to invoke the main method of other class ?
[Link] multiple inheritence possible in Java?
[Link] multiple inheritence not possible using class ?
[Link] you have constructor and instance block in a class which will be executed 1 st when
object is created.
[Link] between this. and this()
[Link] between super. and super()
[Link] is method overriding ?
[Link] between constructor and method.
[Link] between overloading and overriding.
[Link] is co-varient return type?
[Link] types of methods cannot be overridden ?
[Link] case of overriding, is it possible to make single threaded method to multithreaded
method or vice versa.
[Link] is static method shadowing ?
[Link] to achieve generalization ?
[Link] real-time example for generalization ?
[Link] is specialization ?
[Link] polymorphism with real-time and real-world examples
57.
58.

You might also like