Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Class notes

Codeing

Rating
-
Sold
-
Pages
166
Uploaded on
13-05-2023
Written in
2022/2023

It is notes of codeing releted . Php and MySQL and Java it's my class notes and I edited some informational topic.

Institution
Course

Content preview

B.C.C.A.- II (4th Semester) Core Java




Dharampeth Education Society’s

R. S. Mundle Dharampeth
Arts & Commerce
College, Nagpur
Re-accredited “B” by NAAC
North Ambazari road, Dharampeth, Nagpur 440010
Web site :www.rsmdacc.edu.in
E mail :
Phone : (0712)2557612 Fax : 0712 – 2557612




Department of BBA & BCCA



B. Com (Computer Application) Part II

BCCA II (Semester - IV)
Core Java
Dr. Sonali P.Tambuskar
(MCM,M.Com,PGDCCA,B.ed.Ph.D)




R.S. Mundle Dharampeth Arts & Commerce College, Nagpur Page 1

Department of BBA & BCCA

,B.C.C.A.- II (4th Semester) Core Java

Paper - III: Core Java
UNIT – I
Java History and Introduction - Java history, Java features, How java differ from C and C++,
Java and internet, Java and world wide web, Java environment. Simple Java programs, Java
program structure, Java tokens, Java virtual machine, Command line arguments. Variables,
Data Types and Simple I/O –Variables, Data Types, Scope of variables, Symbolic constants,
Type casting, Standards default values, Getting Simple User Input. Operators in java-
Introduction, Arithmetic operators, Relational operators, Logical operators, Assignment
operators, Increment and decrement operators, Conditional operators, Bitwise operators,
Special operators, Mathematical functions. Decision Making and Branching –If…Else
statement, Nesting of If...Else statement, the switch statement, The? : Operators.

UNIT-II
Decision Making and Looping – Introduction, The while statement, the do statement, for
statement, Jumps in loops, Labeled loops. Arrays, Strings – One Dimensional Array, Two
Dimensional Array, Strings. Classes, Objects and Methods – Introduction, Defining a class,
Methods declaration, Creating objects, Accessing class members, Constructors, Method
overloading, Static members, Inheritance: Extending a class, Overriding methods, Final
variables and methods, Final classes, Finalizer methods, Abstract methods and classes,
Visibility Controls. Interfaces:– Introduction, Defining interfaces, Implementing interfaces,
Accessing interface variables.

UNIT - III
Packages:– Introduction, Java API Packages, Using system packages, Naming conventions,
Creating packages, Accessing a package, Using a package. Introduction to Thread - Creating
threads, Life cycle of thread. Managing Errors and Exceptions – Introduction, Types of errors,
Exceptions, Syntax of exceptions handling code, catch statements, using finally statements,
throwing our own exceptions. Graphics Programming – Introduction, The graphics class, Lines
and rectangles, Circles and ellipses, Drawing arcs, Drawing polygons.

UNIT-IV
Applet Programming – Introduction, How applet differ from application, Preparing to write
applet, Building applet code, Applet life cycle, Creating an executable applet, Designing a web
page, Applet tag, Adding applet to HTML file, Running the applet, Passing parameters to
applet, Displaying numerical values, Getting input from the user. Managing Input / Output Files
in JAVA – Introduction, Concepts of streams, Streams classes, Bytes streams classes, Character
streams classes, Using the file classes, Input / Output exception, Creation of files,
Reading/Writing character, Reading/Writing bytes.




R.S. Mundle Dharampeth Arts & Commerce College, Nagpur Page 2

Department of BBA & BCCA

,B.C.C.A.- II (4th Semester) Core Java

Unit – I
Introdution of Java-

Java programming language was originally developed by Sun Microsystems which was
initiated by James Gosling and released in 1995 as core component of Sun Microsystems' Java
platform (Java 1.0 [J2SE]).
The latest release of the Java Standard Edition is Java SE 8. With the advancement of Java and
its widespread popularity, multiple configurations were built to suit various types of platforms.
For example: J2EE for Enterprise Applications, J2ME for Mobile Applications.
The new J2 versions were renamed as Java SE, Java EE, and Java ME respectively. Java is
guaranteed to be Write Once, Run Anywhere.
Java is:
Object Oriented: In Java, everything is an Object. Java can be easily extended since
it is based on the Object model.

Platform Independent: Unlike many other programming languages including C and
C++, when Java is compiled, it is not compiled into platform specific machine, rather
into platform independent byte code. This byte code is distributed over the web and
interpreted by the Virtual Machine (JVM) on whichever platform it is being run on.

Simple: Java is designed to be easy to learn. If you understand the basic concept of
OOP Java, it would be easy to master.

Secure: With Java's secure feature it enables to develop virus-free, tamper-free
systems. Authentication techniques are based on public-key encryption.

Architecture-neutral: Java compiler generates an architecture-neutral object file
format, which makes the compiled code executable on many processors, with the
presence of Java runtime system.

Portable: Being architecture-neutral and having no implementation dependent
aspects of the specification makes Java portable. Compiler in Java is written in ANSI
C with a clean portability boundary, which is a POSIX subset.

Robust: Java makes an effort to eliminate error prone situations by emphasizing
mainly on compile time error checking and runtime checking.

Multithreaded: With Java's multithreaded feature it is possible to write programs
that can perform many tasks simultaneously. This design feature allows the
developers to construct interactive applications that can run smoothly.

Interpreted: Java byte code is translated on the fly to native machine instructions
and is not stored anywhere. The development process is more rapid and analytical
since the linking is an incremental and light-weight process.

High Performance: With the use of Just-In-Time compilers, Java enables high
performance.


Distributed: Java is designed for the distributed environment of the internet.



R.S. Mundle Dharampeth Arts & Commerce College, Nagpur Page 3

Department of BBA & BCCA

, B.C.C.A.- II (4th Semester) Core Java

Dynamic: Java is considered to be more dynamic than C or C++ since it is designed
to adapt to an evolving environment. Java programs can carry extensive amount of
run-time information that can be used to verify and resolve accesses to objects on
run-time.

History of Java
James Gosling initiated Java language project in June 1991 for use in one of his many set-top
box projects. The language, initially called ‘Oak’ after an oak tree that stood outside Gosling's
office, also went by the name ‘Green’ and ended up later being renamed as Java, from a list of
random words.
Sun released the first public implementation as Java 1.0 in 1995. It promised Write Once, Run
Anywhere (WORA), providing no-cost run-times on popular platforms.
On 13 November, 2006, Sun released much of Java as free and open source software under the
terms of the GNU General Public License (GPL).
On 8 May, 2007, Sun finished the process, making all of Java's core code free and open-source,
aside from a small portion of code to which Sun did not hold the copyright.

Tools You Will Need
For performing the examples discussed in this tutorial, you will need a Pentium 200-MHz
computer with a minimum of 64 MB of RAM (128 MB of RAM recommended).
You will also need the following softwares:
Linux 7.1 or Windows xp/7/8 operating system
Java JDK 8
Microsoft Notepad or any other text editor

This tutorial will provide the necessary skills to create GUI, networking, and web
applications using Java.

Try It Option
We have provided you with an option to compile and execute available code online. Just click
the Try it button available at the top-right corner of the code window to compile and execute
the available code. There are certain examples which cannot be executed online, so we have
skipped those examples.

public class MyFirstJavaProgram {


public static void main(String []args) {
System.out.println("Hello World");
}
}

There may be a case that you do not see the result of the compiled/executed code. In such case,
you can re-try to compile and execute the code using execute button available in the
compilation pop-up window.
R.S. Mundle Dharampeth Arts & Commerce College, Nagpur Page 4

Department of BBA & BCCA

Connected book

Written for

Course

Document information

Uploaded on
May 13, 2023
Number of pages
166
Written in
2022/2023
Type
Class notes
Professor(s)
Prof .jambudkar
Contains
All classes

Subjects

$8.99
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
pralaythakre

Get to know the seller

Seller avatar
pralaythakre
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
2 year
Number of followers
0
Documents
3
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions