JAVA PROGRAMMING QUESTION BANK FOR PTT-1 (ACADEMIC YEAR 2015-16)

QUESTION BANK FOR IST PTT - JPR

1.      Explain platform independence and data encapsulation.
2.      Describe any 2 feature of java.
3.      What is byte code? Explain JVM.
4.      List different data types in java.
5.      Describe arithmetic operators with examples.
6.      Explain why java is called true OO language.
7.      Explain relational and logical operators in java.
8.      Describe use of final w.r.t Inheritance.
9.      Describe various bitwise operators with examples.
10.  What is overriding? Explain method overriding.
11.  Explain constructor with example also explain the type of constructor.
12.  Define an employee with data members as empid, name and salary accept data for 5 object and display it.
13.  Describe ternary operator in java with suitable example.
14.  What is access specifier also explain type with their effect.
15.  State any four decision making statement along with their syntax.
16.  WAP to generate Fibonacci series for any number using loop.
17.  WAP to calculate and display Area of Circle.
18.  WAP to accept a number and print its factorial.
19.  WAP to calculate the no of vowels, constant, digits, spaces and tabs in a given string.
20.  Explain polymorphism feature with concept of method overloading.
21.  What are the uses of super and this w.r.t inheritance?
22.  Explain abstract class? Explain its use.
23.  Explain   a. substring()  b. concat()  c. replace()  d. trim()
What is vector? How is it differing from array? Explain.

**************************** BEST OF LUCK ******************************

Comments

Popular posts from this blog

Exp : 1 & 2 : Working with HTML and CSS

DV and LS Routing Algorithm Implementation in ns2