Distinguish between print () and println() methods in Java with
example.
Discuss about Ternary Operator using a Java program.
Make use of Nested if and else using an example.
Compare the working of the while loop and do-while loop.
Differentiate the Break and Continue Statement
Write a java program for static method
Differentiate between pretest and posttest loops
Explain attribute Final with an example.
Explain Static variables.
Difference between for and for-Each loop
JAVA Important questions
Short Answer Questions
Define a class
Define a constructor
Define Keyword this.
Define Attribute Final
Specify the various access control in JAVA
Define recursive methods
Define static variables
Distinguish between searching and sorting with example.
Discuss Array Initialization with example
Demonstrate the accessing of elements in the Array
Explain arrays as vectors
Describe Array Declaration with example
Long answer questions
List the primitive data types available in Java and explain
Explain the use of ‘for–each’ statement in Java with an
example.
Demonstrate the logical operators with a Java program.
Describe the basic rules to define java identifiers or variables.
Identify the features of Java language
Explain about static, instance and local variables with an example.
Describe various types of iterative statements with suitable example.
Write a Java program for Bitwise operators
Explain the structure of a typical Java program with an example
Develop a arithmetic calculator using switch statement in java
Compare the Procedural Programming Language and Object-Oriented
Programming language.
Demonstrate user Input to programs with example.
List and explain the Tokens in the Java language.
Illustrate special operators with examples
Demonstrate implicit and explicit type casting with an example program.
Illustrate program style in java.
Discuss in detail about Command line arguments in java with an
example.
Explain static variables and methods with examples.
Explain data types in Java.
Demonstrate Boolean datatype with example.
Explain various operators with examples.
Develop a java program to print largest of four numbers using if else
ladder.
Explain Iteration statements in Java
Design following pattern using nested
loops in java
Identify the access modifiers supported by the java programming
language
Demonstrate the ‘call by value’ with a Java program.
Explain the usage of class with example
. Describe how objects are declared in java explain with an example?
Discuss the characteristics of a constructor
Compare the working of constructor overloading with method
overloading.
Discuss the advantages and disadvantages of recursion
Develop a java program to generate Fibonacci series of a given
number using recursion.
Demonstrate Nested class concept with an example
Explain modifiers for methods with examples.
Distinguish between constructor and method in java.
Develop a java program to compute factorial of a given number
using recursion.
Examine the importance of “this” keyword in java language
.Create a class Student with appropriate properties and methods,
access them with objects (minimum two objects required).
Explain the concept of method overloading with an example
Write a Java program to swap two numbers using call by reference.
Illustrate final Class and Methods with an example.
Design a class that represents a bank account and construct the
methods to
i) Assign initial values
ii) Deposit an amount
iii) Withdraw amount after checking balance
iv) Display the name and balance
Explain static nested class with example.
Develop a java program to access the private methods of a class.
Explain Anonymous class with example.
Illustrate with a program to assign One object to Another
Explain class objects as parameters in methods.
Develop a program to implement overloaded methods
Explain the concept of Storage Arrays in computer memory
Discuss Array Initialization with example.
Demonstrate the accessing of elements in the Array
Write a java program to implement binary search on array elements
Develop Array operation with example
Explain class arrays with examples.