You are on page 1of 1

Batch-Java 2018(CA)

Time:-1 hr
Marks=17*2

Gagnanchal Market
37,Dr Abani Dutta Road
Howrah-6
Ph:-26754971/9831946400

Attempt all questions.


Question 1
a) what are components of a class?
b) What is the difference between literals and Token ?
c) Write down the difference between switch and if else if
d) A class is a user-defined data type?Explain
e) what are the methods of class student,automobile,employee [ 10 ]

SECTION:B
a) Define bytecode (2)
b) Evaluate Math.ceil(7.8)+Math.round(6.3); (1)
c) Distinguish break and continue statements with example. (2)
d) Explain exception class.(2)
e) Define keyword.(2)
f) Illustrate “?” operator?
g) What is the difference between System.in.read and System.out.println()?
h) Differentiate between nextTokens() and hasMoreTokens()
i) Difference between instance variable and instance methods?
j) What is diff and similarity between do while and while loop?
k) Write two differences between implicit type casting and explicit type casting?
l) State difference source code and machine code?

REFLEXES:SAN’S CONCEPT CLASSES:Application development 9831946400

You might also like