Dr.A.P.J.Abdul Kalam University
Bachelor of Computer Application
Fifth Semester Main Examination, Dec-2020
Introduction to JAVA [BCA501T]
Time: 3:00 Hrs
Max Marks 50
Note : Attempt all questions. All questions carry equal marks
Q.1 Explain java program structure. Explain access modifiers used in java.
OR
Define constructors with its types.
Q.2 What is JAVA virtual machine? Explain its concept.
OR
Explain the concept of class, object and methods.
Q.3 Explain inheritance with its types and diagram.
OR
What is file handling? How do you read and write to a text file in JAVA? Explain with
example.
Q.4 Write a JAVA program to calculate the factorial of a given number.
OR
What is thread? How do you create thread in a JAVA program? Explain with example.
Q.5 Explain data types used in JAVA. Explain briefly with its classification.
OR
Explain the concept of method overloading and method overriding with example
Attachment & Scanned Copies:
0 comments:
Pen down your valuable important comments below