Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
9 views3 pages

CORE JAVA

Java

Uploaded by

polrusher7
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views3 pages

CORE JAVA

Java

Uploaded by

polrusher7
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Rai University - Rai School of Engineering

Department of Computer Science & Engineering / Information Technology


SYLLABUS FOR 3 Semester B.Tech. PROGRAMME
CORE JAVA (030703302)

Type of Course: B.Tech.


Prerequisite: 030802201 - OBJECT ORIENTED PROGRAMMING WITH C++
Rationale: To working of the Java Virtual Machine (JVM), JDK, JRE, and IDEs. Develop Java programs
using control structures, arrays, and methods. Implement object-oriented concepts like inheritance and
polymorphism. Handle exceptions using try-catch-finally blocks and create user-defined exceptions.
Create GUI-based applications using applets, layout managers, and Java AWT control

Teaching and Examination Scheme:

Teaching Scheme Examination Scheme

Lecture Tutorial
Credit External Internal Total
Lab Hrs/
Hrs/ Hrs/
Week
Week Week T P T CE P
3 - 2 4 70 - - - - 150
SEE - Semester End Examination, T - Internal Theory, P - Internal Practical

Contents:
Teaching
Sr. Topic Weightage
Hrs.
Introduction to Java Programming: Basics of Java programming,
JDK,JRE, and IDE, Features of Java ,compiling and Executing a
simple java program,
Programming style, variables, Data Types (Numeric, Boolean,
1 20% 12
Character, String) its Operations , Adding
comments to a java, Constants, Keywords, Identifiers, numeric type
conversion, Arrays in Java, Advantages of Java,
Applications of Java,
Methods, Object , Classes, Conditions & Loops in Java: Basics of
objects and classes in Java, Methods and objects. Method
overloading, Constructors, Sending arguments
to constructors, Constructors overloading. ‘this’ keyword, Static
2 variable. Working with constants, if and if…..else, 20% 12
Nesting if… else, Using logical AND and OR operators, switch
statement, Using the conditional AND not operators,
Using the NOT operator, Understanding precedence. While loop, for
loop, do…. while loop.
Inheritance and Polymorphism: Inheritance in Java, Super and sub
class. Overriding, Polymorphism, Dynamic binding. Generic
Programming, Casting
3 objects, Instance of operator, Abstract class, Interface in Java, 20% 12
Package in Java, Accessing super class methods. Constructor
calling during inheritance, Extending classes, Final method, Final super
class.
Exception Handling: Learning about exceptions, Understanding the
limitations of traditional error, and handling. Trying code and catching
exceptions. Throwing and catching multiple exceptions. ‘finally’ block,
4 20% 12
Understanding the advantages of exception handling.
Checked and unchecked exception, Creating own exceptions (custom
exception).

Printed on : 11-08-2025 02:01 PM Page 1 of 3


Applet: Introduction of Applet, Lifecycle of an Applet, Comparing
Applets and Application, Creating Applets. Parameters passing in
applet, Line, Rectangles, Ovals, Arcs, Polygons, Polyline methods.
Event handling in Java, Event types, Mouse and key events.
5 20% 12
GUI Basics, Panels, Frames. Layout managers: Flow Layout, Border
Layout, Grid Layout.GUI components like buttons, Check
boxes, Radio buttons, Labels, Text fields, Text areas, Combo boxes,
Lists, Scroll bars, Sliders, Windows, Menus, Dialog box.
*Continuous Evaluation:
It consists of Assignments/Seminars/Presentations/Quizzes/Surprise Tests (Summative/MCQ) etc.

Reference Books:
1. Programming with Java (TextBook)
By E. Balagurusamy | Sixth Edition, Tata Mc Graw Hill
2. Java Programming (TextBook)
By Hari Mohan Pandey | Pearson
3. Java™: A Beginner’s Guide (TextBook)
By Herbert Schildt | 7th Edition

List of Practical:
1. Write a Java program to display “Hello World” and demonstrate basic syntax.
2. Write a program to find whether the number is prime or not.
3. Write a program to find a greater number among given three numbers using a) ternary operator
and b)nested if.
4. Write a program to print the Fibonacci series.
5. Write a method to enter two integers and compute the gcd of two integers.
6. Write a test program that prompts the user to enter ten numbers, invoke a method to reverse the
numbers, display the numbers.
7. Write a program that declares a class named Person. It should have instance variables to record
name, age and salary. Use new operator to create a Person object. Set and display its instance
variables. Add a constructor to the Person class developed above.
8. The employee list for a company contains employee code, name, designation and basic pay. The
employee is given HRA of 10% of the basic and DA of 45% of the basic pay. The total pay of the
employee is calculated as Basic pay+HRA+ DA. Write a class to define the details of the employee.
Write a constructor to assign the required initial values. Add a method to calculate HRA, DA and
Total pay and print them out. Write another class with a main method. Create objects for three
different employees an
9. Write a Java Program to Count Number of Words in Given String.
10. Write a Java Program to Count the Occurrences of Each Character in String
11. Write a program to illustrate the concept of class with Method overloading.
12. Write a program to illustrate the concept of Single inheritance
13. Write a program to illustrate the concept of Multi level inheritance
14. Write an exception class for a time of day that can accept only 24 hour representation of clock
hours. Write a java program to input various formats of timings and throw suitable error messages.
15. Write a program that illustrates interface inheritance. Interface A is extended by A1 and A2.
Interface A12 inherits from both P1 and P2. Each interface declares one constant and one method.
Class B implements A12.Instantiate B and invoke each of its methods. Each method displays one
of the constants.
16. Developing an interactive Student Feedback Form using Java Applet and AWT GUI components.
The form should collect the following information from the student: Name (Text Field),Roll Number
(Text Field),Gender (Radio Buttons: Male, Female, Other),Course (Combo Box: BCA, BSc IT,
MCA, MSc IT),Semester (List),Feedback on Facilities (Check Boxes: Library, Lab, Wi-Fi, Canteen,
Hostel),Rating (Slider from 1 to 10),Submit and Reset Buttons
17. Develop a program using one class and object to calculate the area of a rectangle.
Printed on : 11-08-2025 02:01 PM Page 2 of 3
18. Demonstrate inheritance by creating a base class Person and a derived class Student.

Printed on : 11-08-2025 02:01 PM Page 3 of 3

You might also like