The document provides an introduction to the Java programming language. It discusses that Java was originally called Oak and developed by Sun Microsystems in 1991. It can be used to create both applications and applets. The source code is compiled into bytecode, which is then interpreted by the Java Virtual Machine (JVM) to execute programs. Key features of Java include being simple, secure, portable, object-oriented, robust, and multi-threaded. The document also covers concepts such as packages, interfaces, inheritance, method overloading/overriding, and multithreading.
Here I discuss about Java programming language and easiest way to solve programming problem. Java basic syntax and their uses are described briefly so that anyone can easily understand within very short time. If anyone follow the slide with proper way,I assure that he or she will find java programming interesting.
oops concept in java | object oriented programming in javaCPD INDIA
object oriented programming is a key concept for the development of application in windows as well as web based application environment. oops concept maps real world through its concept of classes, objects, inheritance, polymorphism which help in making a robust application.
This is the presentation file about inheritance in java. You can learn details about inheritance and method overriding in inheritance in java. I think it's can help your. Thank you.
Here I discuss about Java programming language and easiest way to solve programming problem. Java basic syntax and their uses are described briefly so that anyone can easily understand within very short time. If anyone follow the slide with proper way,I assure that he or she will find java programming interesting.
oops concept in java | object oriented programming in javaCPD INDIA
object oriented programming is a key concept for the development of application in windows as well as web based application environment. oops concept maps real world through its concept of classes, objects, inheritance, polymorphism which help in making a robust application.
This is the presentation file about inheritance in java. You can learn details about inheritance and method overriding in inheritance in java. I think it's can help your. Thank you.
20 most important java programming interview questionsGradeup
These questions are prepared by Java Programming Experts and solutions to these programs are asked during job interviews. Knowing solution to these questions helps you in getting a job.
Read| The latest issue of The Challenger is here! We are thrilled to announce that our school paper has qualified for the NATIONAL SCHOOLS PRESS CONFERENCE (NSPC) 2024. Thank you for your unwavering support and trust. Dive into the stories that made us stand out!
2024.06.01 Introducing a competency framework for languag learning materials ...Sandy Millin
http://sandymillin.wordpress.com/iateflwebinar2024
Published classroom materials form the basis of syllabuses, drive teacher professional development, and have a potentially huge influence on learners, teachers and education systems. All teachers also create their own materials, whether a few sentences on a blackboard, a highly-structured fully-realised online course, or anything in between. Despite this, the knowledge and skills needed to create effective language learning materials are rarely part of teacher training, and are mostly learnt by trial and error.
Knowledge and skills frameworks, generally called competency frameworks, for ELT teachers, trainers and managers have existed for a few years now. However, until I created one for my MA dissertation, there wasn’t one drawing together what we need to know and do to be able to effectively produce language learning materials.
This webinar will introduce you to my framework, highlighting the key competencies I identified from my research. It will also show how anybody involved in language teaching (any language, not just English!), teacher training, managing schools or developing language learning materials can benefit from using the framework.
Instructions for Submissions thorugh G- Classroom.pptxJheel Barad
This presentation provides a briefing on how to upload submissions and documents in Google Classroom. It was prepared as part of an orientation for new Sainik School in-service teacher trainees. As a training officer, my goal is to ensure that you are comfortable and proficient with this essential tool for managing assignments and fostering student engagement.
How to Make a Field invisible in Odoo 17Celine George
It is possible to hide or invisible some fields in odoo. Commonly using “invisible” attribute in the field definition to invisible the fields. This slide will show how to make a field invisible in odoo 17.
Unit 8 - Information and Communication Technology (Paper I).pdfThiyagu K
This slides describes the basic concepts of ICT, basics of Email, Emerging Technology and Digital Initiatives in Education. This presentations aligns with the UGC Paper I syllabus.
The French Revolution, which began in 1789, was a period of radical social and political upheaval in France. It marked the decline of absolute monarchies, the rise of secular and democratic republics, and the eventual rise of Napoleon Bonaparte. This revolutionary period is crucial in understanding the transition from feudalism to modernity in Europe.
For more information, visit-www.vavaclasses.com
Operation “Blue Star” is the only event in the history of Independent India where the state went into war with its own people. Even after about 40 years it is not clear if it was culmination of states anger over people of the region, a political game of power or start of dictatorial chapter in the democratic setup.
The people of Punjab felt alienated from main stream due to denial of their just demands during a long democratic struggle since independence. As it happen all over the word, it led to militant struggle with great loss of lives of military, police and civilian personnel. Killing of Indira Gandhi and massacre of innocent Sikhs in Delhi and other India cities was also associated with this movement.
2. JAVA
Java Operating System a general purpose OOPL developed by
Sunmicro System(USA) in the year 1991.
Originally it was named as OAK & it was renamed in 1995 as
JAVA.
JAVA can be used to develop two types of programs , these are
Application and Applets.
When we create applications, java is not much different from
other languages. But in case of an applet, it can be dynamically
downloaded across the network, which can react to user input.
To execute an application in java, the following two methods can
be adopted :
* Compiling the source code into the BYTE CODE using the java
compiler, i.e. javac
* Executing the byte code, using the JAVA interpreter, i.e. java
3. Byte code
The Source code is compiled by the java compiler. The
output of the compiler is not an executable code.
Rather it is an intermediate code called as the BYTE
CODE.
The byte code is stored in a file having extension
“.class”
After byte code is generated by the compiler, it is
interpreted by the JAVA interpreter to produce the
programming result.
4. JAVA Features
Some of the important features are described below
SIMPLE: java is simple because of the availability of
Object Oriented features in it.
SECURED: When an executable program is
downloaded, the risk of viral infection is severe, which
may infect the system with a virus.
PORTABILITY: Many type of computer with different
OS are available almost all computer are connected to
the internet now a days. Therefore, the code must be
sufficiently portable enough so that it can be
dynamically downloaded to the various platforms.
5. JAVA Features
OBJECT ORIENTED: java is a pure object oriented
programming language. The principle is “everything is
an object” is implemented in java.
ROBUST: java is robust, because it is a strictly typed
language. Due to this, the java compiler checks the
code at compile time to allow the programmer correct
the syntactical errors. It also handles the memory
management mistakes and exceptional condition.
MULTI-THREADED: java supports multi-threaded
programming. Which allow the programmer to write
programs, that may do many things simultaneously.
6. JAVA Features
Though it is a Object oriented Programming Language is
supports the following features
o DATA ABSTRACTION : Abstraction refers to the act of
representing essential features without including the
background the explanation details.
o ENCAPSULATION : the wrapping up of data &
function/methods into a single unit is known as
encapsulation
o MODULARITY : Modularity is the property of system that
has been decomposed into a set of cohesive & loosely
coupled modules. So the act of partitioning program into
individual is called modularity.
7. JAVA Features
o INHERITANCE : It is the capacity of one class of
things to inherit from another class.
o POLYMORPHISM : It is a ability for a data to be
processed in more than one forms. It is a property by
which the same message can be sent to object of
several different classes.
8. JVM
Java Virtual Machine
The java run time system is other wise known as the
JVM.
Execution of every java program is under the control of
JVM.
As the source code in JAVA is translated into the byte
code , it becomes easier to run the byte code in a wide
verity of environments.
Only requirement is the availability of JVM within
than environment.
10. Command Line Argument
An argument which is supplied/passed to the main()
from the command line at the time of calling the
main() by the java interpreters is called COMMAND
LINE ARGUMENT.
The arguments supplied from the command line are of
string type arguments. Therefore these arguments are
stored in the parameter of main() which is an array of
string objects i.e. args[]
11. Method Overloading
A class can contain two or more methods with same
name but different set of parameters. In this case the
methods are said to be overloaded & the process is
called method overloading.
In method overloading, methods may or may not have
same return type.
12. Constructor &
Constructor Overloading
A constructor is a specialize method/member function
of class
A constructor has the same name as the class in which
it is declared.
A constructor is syntactically similar to a method with
only exception that it has no return type not even void.
Once defined in a class, the constructor is
automatically called immediately after the object is
created.
13. Constructor &
Constructor Overloading
Like method overloading, constructor can also be over
loaded.
Constructor overloading is the process by which two
or more constructor defined in a class with different
list of parameters.
When overloaded constructor are called, java compiler
calls that constructor whose list of parameter exactly
matches with the values received from the calling
program.
14. Inheritance
The mechanism of deriving a new class from an
existing class is called inheritance.
The class from which the new class is derived is called
SUPER CLASS and the class which is derived is called
SUB CLASS
Inheritance allows
-> The creation of hierarchical classification
->Code reusability
18. Method Overriding
When a method in a subclass is exactly same as in
method in a super class, then method overriding takes
place.
In method overriding, the subclass and super class
method have same name, same return type and same
parameter list.
Due to inheritance, the subclass method overrides the
super class method. Therefore when an overridden
method is called from within a subclass, it always
refers to the method define in the sub class
19. Interface
Since java does not support multiple inheritance, it
provides an alternate approach to multiple inheritance
and that approach is Interface.
An interface, is a kind of class that lacks instance
variable and its methods are declared without only
body.
Therefore using an interface, it is specified that what a
class must do but not how it does it.
Variable declared with in a interface must have FINAL
declaration
20. Interface
Syntax of declaration of variables
static final <type of variable> <variable name>=<value>
E.g. : static final int a=5;
Syntax of declaration of methods
<return type> <method name>(<parameter list>);
E.g. : float compute(float r);
21. Package
Package are container for classes, that are used to keep
the class name space compartmentalized
Packages are stored in a hierarchical manner and
packages are explicitly imported into new class
definition
The classes defined inside a package are not accessible
by the code outside that package.
24. Multithreading
Java provides built in support for multithreaded
programming.
A multi threaded programming contains two or more
parts that can concurrently.
Each part of a program is called thread.
Each thread has its own separate path of execution.
Multithreading makes the maximum use of CPU.