0% found this document useful (0 votes)
2 views9 pages

New 8-16 Java

The document outlines the course outcomes for Object Oriented Programming-I, focusing on Java programming skills including class and interface usage, exception handling, and GUI application development. It provides a teaching and examination scheme, along with suggested learning resources such as reference books and online platforms. Additionally, it includes instructions for installing Java on Windows and setting environment variables for Java development.

Uploaded by

variyapriyesh
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)
2 views9 pages

New 8-16 Java

The document outlines the course outcomes for Object Oriented Programming-I, focusing on Java programming skills including class and interface usage, exception handling, and GUI application development. It provides a teaching and examination scheme, along with suggested learning resources such as reference books and online platforms. Additionally, it includes instructions for installing Java on Windows and setting environment variables for Java development.

Uploaded by

variyapriyesh
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/ 9

Object Oriented Programming-I (3140705)

1. COURSE OUTCOMES

After learning the course, the students should be able to:


1. Use various Java constructs, features and libraries for simple problems.
2. Demonstrate how to define and use classes, interfaces, create objects and methods,
how to override and overload methods, compile and execute programs.
3. Write a program using exception handling, multithreading with synchronization.
4. Write a program using Files, binary I/O, collection Frameworks for a given problem.
5. Design and develop GUI based applications in a group using modern tools and
frameworks.

2. TEACHING AND EXAMINATION SCHEME

Teaching Scheme Credits Examination Marks Total


Marks
L T P C Theory Marks Practical Marks
ESE (E) PA (M) ESE (V) PA (I)
4 0 2 5 70 30 30 20 150

3. SUGGESTED LEARNING RESOURCES

Reference Books:
1. Intro to Java Programming, 10th edition, Y.Daniel Liang, Pearson
2. Object oriented programming with Java , RajkumarBuyya,SThamaraiSelvi, Xingchen
Chu, McGrawHill
3. Programming in Java, SachinMalhotra, SaurabhChoudhary, Oxford
4. Programming with JAVA , E Balagurusamy, McGrawHill
5. CORE JAVA volume -I Cay Horstmann, Pearson
Major Equipment: Computer, Laptop
List of Open Source Software/learning website:
https://docs.oracle.com/javase/tutorial/java/index.html
https://www.tutorialspoint.com/JAVA/
https://dev.java/learn/
https://www.codecademy.com/learn/learn-java
https://www.w3schools.com/java/
Object Oriented Programming-I (3140705)

Java:
Java is a high-level, class-based, object-oriented programming language that is designed to have
as few implementation dependencies as possible. It is a general-purpose programming language
intended to let programmers write once, run anywhere (WORA), meaning that compiled Java
code can run on all platforms that support Java without the need for recompilation. Java
applications are typically compiled to bytecode that can run on any Java virtual machine (JVM)
regardless of the underlying computer architecture.

OpenJDK:
OpenJDK (Open Java Development Kit) is a free and open-source implementation of the Java
Platform, Standard Edition (Java SE). It is the result of an effort Sun Microsystems began in 2006.
The implementation is licensed under the GPL-2.0-only with a linking exception. Were it not for
the GPL linking exception, components that linked to the Java class library would be subject to
the terms of the GPL license. OpenJDK is the official reference implementation of Java SE since
version 7.

JVM:
The Java Virtual Machine, or JVM, executes live Java applications. Every JRE includes a default
JRE, but developers are free to choose another that meets the specific resource needs of their
applications.

JRE:
The Java Virtual Machine, or JVM, executes live Java applications. Every JRE includes a default
JRE, but developers are free to choose another that meets the specific resource needs of their
applications. The Java Virtual Machine, or JVM, executes live Java applications. Every JRE
includes a default JRE, but developers are free to choose another that meets the specific resource
needs of their applications.

JAVA IDEs:
IDEs typically provide a code editor, a compiler or interpreter and a debugger that the developer
accesses through a unified graphical user interface (GUI). Here are a few popular Java IDEs:

Eclipse: a Java-based open source platform that enables the creation of highly customized IDEs
from plug-in components built by Eclipse members. The platform is user-friendly for beginners
and also suitable for the creation of more sophisticated applications. Eclipse includes a lot of plug-
ins that allow developers to develop and test code written in other languages.

NetBeans: a Java-based IDE and underlying application platform framework. In addition to Java,
JavaScript and JavaFX, NetBeans supports C/C++, PHP, Groovy, and HTML5.
Object Oriented Programming-I (3140705)

How to install Java for Windows:

Following are the steps on how to install Java in Windows 10 for JDK 8 free download for 32 bit
or JDK8 download for Windows 64 bit and installation

Step 1) Go to https://www.oracle.com/java/technologies/downloads/. Click on JDK Download for


Java download JDK 8.

Step 2) Next,

1. Accept License Agreement


2. Download Java 8 JDK for your version 32 bit or JDK download 64 bit.

Step 3) When you click on the Installation link the popup will be open. Click on I reviewed and
accept the Oracle Technology Network License Agreement for Oracle Java SE development kit
and you will be redirected to the login page. If you don’t have an oracle account you can easily
sign up by adding basics details of yours.
Object Oriented Programming-I (3140705)

Step 4) Once the Java JDK 8 download is complete, run the exe for install JDK. Click Next

Step 5) Select the PATH to install Java in Windows… You can leave it Default. Click next.
Object Oriented Programming-I (3140705)

Step 6) Once you install Java in windows, click Close

How to set Environment Variables in Java: Path and Classpath:

The PATH variable gives the location of executables like javac, java etc. It is possible to run a
program without specifying the PATH but you will need to give full path of executable like
C:\Program Files\Java\jdk1.8.0_271\bin\javac A.java instead of simple javac A.java
The CLASSPATH variable gives location of the Library Files.
Let’s look into the steps to set the PATH and CLASSPATH

Step 1) Right Click on the My Computer and Select the properties


Object Oriented Programming-I (3140705)

Step 2) Click on advanced system settings

Step 3) Click on Environment Variables to set Java runtime environment


Object Oriented Programming-I (3140705)

Step 4) Click on new Button of User variables

Step 5) Type PATH in the Variable name.


Object Oriented Programming-I (3140705)

Step 6) Copy the path of bin folder which is installed in JDK folder.

Step 7) Paste Path of bin folder in Variable value. Click on OK Button.

Note: In case you already have a PATH variable created in your PC, edit the PATH variable to
PATH = <JDK installation directory>\bin;%PATH%;

Here, %PATH% appends the existing path variable to our new value

Step 8) You can follow a similar process to set CLASSPATH.


Object Oriented Programming-I (3140705)

Step 9) Click on OK button

Step 10) Go to command prompt and type javac commands.


If you see a screen like below, Java is installed.

You might also like