0% found this document useful (0 votes)
20 views3 pages

Javaq

The document contains a series of questions and topics related to Java programming, covering concepts such as compiler and interpreter languages, wrapper classes, dynamic method dispatch, multithreading advantages, applet differences, exception handling, method overloading, and OOP principles. It also addresses Java-specific features like packages, synchronization, garbage collection, and the Java Virtual Machine (JVM). Additionally, it includes practical programming tasks and examples to illustrate various Java concepts.

Uploaded by

Swastika Manna
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)
20 views3 pages

Javaq

The document contains a series of questions and topics related to Java programming, covering concepts such as compiler and interpreter languages, wrapper classes, dynamic method dispatch, multithreading advantages, applet differences, exception handling, method overloading, and OOP principles. It also addresses Java-specific features like packages, synchronization, garbage collection, and the Java Virtual Machine (JVM). Additionally, it includes practical programming tasks and examples to illustrate various Java concepts.

Uploaded by

Swastika Manna
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
You are on page 1/ 3

WHY JAVA IS CALLED COMPILER INTERPRETER LANGUAGE?

WHY DO WE NEED WRAPPER CLASS ?

EXPLAIN DYNAMIC METHOD DISPATCH IN METHOD OVERRIDING WITH PROPER EXAMPLE

DEFINE LINKS AND ASSOCIATION

Explain the advantages of multithread over single thread.

WHAT DO YOU MEAN BY LOCAL AND REMOTE APPLETS?

Short note on META CLASS

How applet differ from frame and panel

how you can create your own package and add classes in that?explain with the help of an
example

create an applet in java having background color black and foreground color as white.

what is apllet stub interface?

Explain the component and container classes.

What is monitor ?

how many threads at a time access a monitor?

what are the values of max_priority, min_priority, nor_priority level in java?

What is jvm? Explain the process of compilation and interpretation in java.

Explain the concept of default, parametric and non parametric constructor, with proper
example.

What do you mean by exception? Explain the concept of user defined by exception by an
example.

What do you mean by method overloading and overwriting? Explain both with example.

What are the characteristics of abstract class?

State the difference between abstract class and interface.

What do you mean by package?

State the difference between java applets and java applications.

State the difference between checked and unchecked exception?


What do you mean by throw, throws?

State use of super, final, finally, finalize.

What is garbage collector?

There are how many ways to create a thread? which approach is better and why?

What do you mean by polymorphism? Discuss type.

Explain principle of oops.

Why java is called platform independent?

Describe synchronization in respect to multithreading.

Write a java programme which will synchronize between two threads.

Write down a programme to implement command line arguments.

How does String class differ from String buffer class?

State difference between string buffer and string builder ?

State difference between error and exception ?

What are the benefits of organising classes into packages?

What is mutable strings?

With example explain the benefits of interfaces in java.

Explain Steing Tokenizer class, getCodeBase method.

Explain life cycle of an Applet.

List various attributes of Applet tag used in HTML. Explain the purpose of these attributes.

Explain multiple inheritance, multilevel inheritance with proper example.

What is byte code?

Compare between constructor overloading and method overloading.

Explain different access specifiers in java.

Explain Explicit Type Casting.

Explain static keyword with example.

Explain static block, instance initialization block.


Explain inner class in java with proper example.

Explain use of try, catch block.

What do you mean by multi catch, explain with example.

Use of this keyword.

Explain public static void main(String args[])

Explain Thread life cycle.

You might also like