0% found this document useful (0 votes)
5 views

Java Programming

Uploaded by

Bhagya Sarathy
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
5 views

Java Programming

Uploaded by

Bhagya Sarathy
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 2
‘NOUN 15524 Reg. No. V Semester B.C.A. (CBCS) Degree Examination, March - 2024 COMPUTER SCIENCE Java Programming Time : 3 Hours Maximum Marks : 70 instructions to Candidates: 10. i 12. Answer All Sections. SECTION-A Answer any Ten questions. (10x2=20) What is Java API? Why is Java called as a platform independent language? What are static variables? Illustrate the usage of this “Keyword and Super” foe What is an abstract class? Differentiate between Vector and array. What are wrapper classes? State any two differences between Applet and Application. What are check od and unchecked exceptions? What are defau t constructors and parameterized constructor. Mention any t\\ 0 mathematical functions of the Math class. Define streams in Java. PTO. ‘A @ : 15524 SECTION-B Answe any Five questions. (10-50) 13. a) Explain features of Java. : b) Explain each word in the statement. Public static void main (String args []) 14, a) Explain command line arguments with a program. b) _ Illustrate the usage of break and continue statements with example. 15. a) Explainmethod overloading and method overriding. b) Explain any fourmethods of string class with example. 16. a) Whatare access control modifiers? Explain. b) Explain interface in java with an example 17. a) Explain life cycle ofa thread. b) — Whatis apackage? How is a user defined package created. 18. a) Explain the types of inheritance with example. b) Explain exception handling. 19. a) Write a program to display all prime numbers between two limits. b) Explain any five methods of Graphics class. 20. a) Writea program to implement constructor overloading by passing different number of parameters of different types. b) Write short notes on Byte stream and Character Stream.

You might also like